IIS Websites sharing same port (80)

My IIS Server already has a website using port 80. This website does not have a Host Header.

I want to add a 2nd website that also uses port 80 and that looks for host header mysubdomain.domain.com

Is it possible for both websites to use port 80 in this case?
corrin18Asked:
Who is Participating?
 
dis1931Connect With a Mentor Commented:
Hello corrin18,

Yes it is....I have things setup that way....just add the various different headers and away you go.

I have it setup with a second and third website on port 80 and if the header matches it will redirect to the main site.  I am not sure if I had to setup the extra websites or if I did that to seperate a little.  But they all basically point back to the Default website and point to a seperate directory for example I have one for Project Server and there is a website called Link to Project Server and it listens on port 80 for the projectserver header and if it matches it will forward to the default web site under the directory ProjectServer....

Regards,

dis1931
0
All Courses

From novice to tech pro — start learning today.