Question : DNS/IIS config to drop people to specific part of a website

Situation:

We have a corporate website (www.Corporate.com) and we are going to be adding a new section to it that will be added onto the corporate url (www.Corporate.com/newsection.html).  We have purchased a new domain name (newdomain.com) and we want to make it so when users visit this new domain they are taken directly to the new page of the corporate website.

Question:

How do I setup DNS on the new domain to get it to drop on the particular section of the corporate website?  Currently www.Corporate.com has a DNS entry of 55.55.55.55 that takes you to the main page (55.55.55.55 is translated to 192.168.1.1 in the firewall).  Since the new domain is pointing to a section of the corporate website do I point it to 55.55.55.55 too?  

Is the answer in setting up IIS to drop visitors who enter www.newdomain.com straight to www.corporate.com/newsection.html?  Is it done through host headers?  Do I have to create a new website in IIS and then do a redirect?  I have a basic understanding of IIS so I'm thoroughly confused at this point.  We are using IIS6 .

Answer : DNS/IIS config to drop people to specific part of a website


That's what Host Headers is for, you either need to give a site a unique name, or you need to give it a unique IP or Port.

I would have:

corporate.com    - No Host Header - Listens on Port 80 and "All Unassigned"
newdomain.com  - Host Header     - Listens on Port 80 and "All Unassigned"

If a request comes in for anything but newdomain.com it will end up on the corporate.com site. They will only hit the newdomain.com if the name is typed into the address bar.

Perhaps the only refinement to that is to add both "newdomain.com" and "www.newdomain.com" as host headers to the second site.

Chris
Random Solutions  
 
programming4us programming4us