I currently have one webserver with django/nginx connected to my Arris router DG1670A/TW (loaned by Spectrum IP provider). Perhaps the following info is superfluous for answering my question but here are the configurations anyway, for my current website:
-'firewall->port triggers':
--'outbound port' 80-80 and 'inbound port' 80-80
--'outbound port' 443-443 and 'inbound port' 443-443
-'firewall->virtual servers / port forwarding':
--'outbound port' 80-80 and 'inbound port' 80-80
--'outbound port' 443-443 and 'inbound port' 443-443
Ports 80 and 443 are used for the current website. What is your opinion, advice, answer or alternative solution for 2 servers on one public facing IP: Can I use a 2nd physical server for a 2nd website (different domain name)? It seems to me that default http and https require those ports and setting up a second website would require a user to tediously type 'www.2ndwebsite.com:8080' while nginx is configured for listening on port 8080. Perhaps I just need some new hardware to make this work, like a switch?
siteA.example.com
,siteB.example.com
or use multiples domains. You can have them all running on443
or any port you like. Apache2, Nginx and IIS use one port but within the virtual host is where you assign your domains to the location they are stored on disk, that way one domain serves one location and another the other, all done within two shakes of a lamb's tail.:8080
if only one domain is setup for that port because browsers check both80
and:8080
when accessing any domain.