Forum Moderators: phranque

Message Too Old, No Replies

IIS & Apache

IIS & Apache Problem

         

JamesM

4:32 pm on Oct 16, 2004 (gmt 0)

10+ Year Member



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.

www.example.com
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.

www.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. The domiains (subs) all resolve to the same single IP static address correctly.

Can anyone help.

Best Regards - James

jdMorgan

5:22 pm on Oct 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



JamesM,

Welcome to WebmasterWorld!

Is your firewall port 8080 open?

What kind of error message(s) do you get? -- saying "it doesn't work" is pretty vague, leaving us with little information to work with...

Jim

JamesM

5:48 pm on Oct 16, 2004 (gmt 0)

10+ Year Member



Hi Jim,

Thanks for replying.

Sorry I forgot to say there is no firewall on the server.

Well when I say it doesnt work I mean that the browser (on non server pc) just gives me a 404 page not found. Where as, viewing on IE ON the server works fine and views the apache welcome page.

Cheers - James