Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS Host Headers?? 1

Status
Not open for further replies.

zypadman

IS-IT--Management
Sep 4, 2007
29
US
I currently have websiteA running on our web server and I would like to have websiteB running on the same web server. From what I understand you can use Host Headers to point to the correct web site even though they are using the same IP Address/Web Server? Can someone give me some pointers on how to make this work. I have created websiteB in IIS and used websiteB.com as the Host Header. When I browse to websiteB.com it takes me to websiteA. Any thoughts?

Thanks!!!
 
You need to create Host (A) records in DNS. Example, websiteA.com and websiteB.com. When a client requests either site, DNS will send the traffic to the IP address of the web-server.
Site: websiteA would have the host header (Same name as the A record in DNS) websiteA.com. Site "B" using the host header websiteB.com.

Jesse Hamrick
 
I was missing the Execute Permissions...now it is good to go.

Thank you!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top