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

You can achieve this with host headers to some degree. For example say that your primary site: http:\\ is setup as a website and you have configured your DNS Server to map 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,

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 : 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:

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