2 websites hosted on IIS 7 within "Default Website" Binding issue


I've been asked by a client to help with an IIS 7 issue.  We have a server running Windows server 2008 and IIS 7.  There are currently 2 applications being hosted within IIS 7 and both are located under the "Default Website".  Until now, these applications have been used by the developers and they've been accessing each site independtly by IP (ex: http://someIPaddress/directorytosite1 and http://sameIPaddress/directoryToSite2.  

These developers are now wanting me to configure public dns to route by name.  They want web visitors to browse directly without having to use the "/subdirectory".   We've registered 2 different dns names and now I'm trying to work through how to configure IIS to properly route incoming traffic.  The developers are telling me that I should be able to do it outside of IIS (like at our dns hoster), but I'm thinking IIS will need to know how/where to send incoming requests.

What would be the best method for accomplishing my goals considering both of these sites are located within the Default Website?

I know nothing about their applications, so I want to make sure any changes I make are safe and won't cause issues.

Who is Participating?
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
you need to create 2 sites with the directories pointing to the proper file location set up the bindings and away you go..

you will have to set up the dns (cname) records for the sites as well.
You do need have either Static Public IP from your ISP or use DDNS.
Once you have one those two working, should be no problem use specific names to connect each website.
Their differences still would be

but "behind DNS " name attached to your public IP.....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.