IIS & Apache
I have IIS setup with 2 domains. They both use the same IP address and have host headers to differentiate. They work correctly and work on the web.
Server is a Windows 2000 Ser box.
dubya.dubya.dubya.example.com (forum wont let me www)
shop.example.com
I have now installed apache with the intention to have a third domain which uses the same IP address and with the intention to use another 'host header' equiverlent
club.example.com
I used apache as club.example.com needs PHP apache and mySQL whereas the above 2 dont. I have setup the default in the httpd.conf and set it to listen to my public 'static' IP and port 8080
I have also set the servername to club.example.com
Now when I test all 3 domains in my web browser 'IE'
on the server they work perfectly.
dubya.dubya.dubya.example.com <IIS
shop.example.com <IIS
club.example.com:8080 <Apache
When I try another PC not on my network, just one which is on the net, only the top 2 IIS ones work. The apache one does not (404 page not found). The domains (subs) all resolve to the same single IP static address correctly. There is no firewall on the server and all ports are open.
Can anyone help.
Best Regards - James
Last edited by mcrustk2; 10-18-2004 at 04:42 AM.
|