Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a Windows Server 2008 box running a website which can be reached by the outside world at http://sub.company.com. I would like to set up another site which can be reached by going to http://sub.company.com:5566. I have searched and read different articles about setting up multiple sites with IIS but haven't been able to get it fully working, and am hoping someone with more knowledge than myself can help.

Where I am at now is: bindings for current site: Type: http , IP address: All Unassigned, Port: 80, IP Address: *,Host Name: (empty), Binding Information: (empty) Set to serve out of c:/site1

bindings for site i'm trying to add: Type: http , IP address: All Unassigned, Port: 5566, IP Address: *,Host Name: (empty), Binding Information: (empty) Set to serve out of c:/site2

I added an ingoing and outgoing rule in windows firewall for port 5566 for all application and protocols. When I remote desktop to the machine and go to http://localhost the first site comes up and when i go to http://localhost:5566 comes up the site i added appears. From a different machine when I got to http://sub.company.com everything works as it always has, but when I try to go to http://sub.company.com:5566 the site will not appear.

I appreciate any light someone could shed on what my problem could be. Thanks!

share|improve this question

2 Answers 2

Good job on doing a diagnosis by testing it from the local machine - that way, you know that you've set up IIS correctly/

I'm guessing that you have a hardware firewall in between this server and the internet. Port 5566 will need to be opened between the whole internet and this machine. You may also need to do NAT/PAT inbound as well.

share|improve this answer

Did you create the second site inside the first one or is it a Application or VirtualDirectory?

The only way to achieve the url as you want is creating a root website. If it's inside an existing site you must use virtual path as well.

Also check the DNS server to ensure this port is allowed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.