Once again I have a small problem, this time it is
Accessing my webserver.
http://www.wowcomputers.co.za --- DNS Resolution --- 18.104.22.168
http://www.jonathan.za.net ---- DNS Resolution --- 22.214.171.124
126.96.36.199 ---- ISP Static public IP Connected to Cisco Router
192.168.1.1 ---- Internal Cisco router IP connectectd to network port
192.168.1.5 --- Mikrotik Router (Eth1) connected to Cisco router
10.254.0.254 --- Mikrotik Router (Eth2)
10.254.0.110 --- Windows XP pro Web server with Apache 2.2
10.254.0.101 --- My office PC where I manage the network and servers from.
Code: Select all
# feb/04/2009 11:03:19 by RouterOS 2.9.50 # software id = XXXX-XXX # / ip firewall nat add chain=srcnat action=masquerade comment="" disabled=no add chain=dstnat action=dst-nat to-addresses=10.254.0.110 to-ports=80 in-interface=ether1 dst-address=192.168.1.5 dst-port=80 protocol=tcp comment="Server dst-nat WEB" disabled=no add chain=dstnat action=dst-nat to-addresses=10.254.0.110 to-ports=80 in-interface=ether2 dst-address=192.168.1.5 dst-port=80 protocol=tcp comment="Server dst-nat WEB" disabled=no
When I type http://www.wowcomputers.co.za in a web browser it goes to the page I expect it to. and displays the information from the webserver.
I asked a friend (Connecting from outside my network) to do the same, and he gets the same web page. So we know the webserver is working
When I type in http://www.jonathan.za.net I get the same page as from http://www.wowcomputers.co.za. (NB. ALL BROWSING HISTORY HAS BEEN DELETED)
How do I get 2 different domains to point to the same server, and the display different pages too.
I am guessing I need to do something in apache configuration, by letting it listen for specific web address, but the APACHE logs say that both domains orginate from 10.254.0.254.
for more info about my webserver ( I KNOW HUGE SECURITY RISK, but if your really want to get in you will.) http://www.wowcomputers.co.za/phpinfo.php