How to route web from different URL to different local computers, OS=Fedora/CentOS
OS: CentOS/Fedora
I got a mail from my ISP a couple of days ago saying that their customers are gonna get their
amount if public IP reduced to only one from ten hence the IPv4.
(They are going for IPv6, but there's a lot of hardware that needs to be replaced before that will work)
Right now I use about 6 or 7 of them, little depending in what state my computers are in,
down, installing, running etc.
Right now I also host a web server and that one has it's own public IP and there might be
an other later on.
One this running web server I host one fully working site and couple of others that I use to
test stuff with. These I get to work using name-based virtual hosting.
They all use port 80 so my question is, how do I get this to work if I have to put this server
behind my installed router?
-Will the name-based virtual host still work even through my port forwarding in the gateway?
(this I guess will work after the ISP change but haven't got any conclusive evidence)
If I set another machine up also running as a web server, using port 80 and also getting
it's own public IP address, I can't use port forwarding of port 80 to different local IP addresses.
-What do I need to do to get this working?
(this I know(?) won't work after the ISP change)
|