musichax0r
Programmer
I've been researching and trying to accomplish this, but it isn't working so far and I'm not sure why. Here is my setup, please let me know if you have any ideas. Thanks.
ADSL:
Port 80 forwarded to 192.168.0.1
Static WAN IP: 60.70.80.90 (only an example ip)
LAN IP: 192.168.1.1
Gateway Router IP: 192.168.0.1
Port forwarded to 192.168.0.4
Netmask: 255.255.255.262 (example)
Web Server Apache 2 Virtual hosts:
eth0 IP: 192.168.0.4 /var/eth0:0 IP: 192.168.0.5 /var/eth0:1 IP: 192.168.0.6 /var/
I can give more info if necessary, but I think this might be enough to tell you if it will work or not. I get the maindomain.com page no matter which domain I type. I get the same page if I type the local ip address instead of the url (as in or .5 or .6)
Let me know what you think. Thanks. Also, if you have suggestions on software I can use to set this up and manage it without doing it manually in the config files please let me know. I currently use webmin in addition to editing files, but I find webmin confusing in some areas.
ADSL:
Port 80 forwarded to 192.168.0.1
Static WAN IP: 60.70.80.90 (only an example ip)
LAN IP: 192.168.1.1
Gateway Router IP: 192.168.0.1
Port forwarded to 192.168.0.4
Netmask: 255.255.255.262 (example)
Web Server Apache 2 Virtual hosts:
eth0 IP: 192.168.0.4 /var/eth0:0 IP: 192.168.0.5 /var/eth0:1 IP: 192.168.0.6 /var/
I can give more info if necessary, but I think this might be enough to tell you if it will work or not. I get the maindomain.com page no matter which domain I type. I get the same page if I type the local ip address instead of the url (as in or .5 or .6)
Let me know what you think. Thanks. Also, if you have suggestions on software I can use to set this up and manage it without doing it manually in the config files please let me know. I currently use webmin in addition to editing files, but I find webmin confusing in some areas.