View Single Post
  #5 (permalink)  
Old January 29th, 2009, 12:32 AM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can achieve this with host headers to some degree. For example say that your primary site: http:\\192.168.100.1 is setup as a website and you have configured your DNS Server to map http://Mycompany.com to the website above. What you would then do is create a SECOND website in IIS (use the wizard) and provide the string you want this URL to respond to in the Host Header protion of the Wizard. So it could be, http://MyCompanyForum.com

Next you will need to add an A record to your DNS server for your second website otherwise your users will not be able to see it (I assume an A record is already in place for site 1).

Lastly, if you dont want to go to all the DNS trouble you could provide a HOST file hack and, assuming you are using AD, push down a HOSTS file to all of the client machines so that when they type : http://MyCompany.com into the browser they will be taken to the internal webserver. *GOTCHA*: If you use this method you will need to have a unique IP address for each website (as far as i know)

Some more info can be found here: http://www.gafvert.info/notes/iis_multiple_websites.htm

hth
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
Reply With Quote