Solved

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

Posted on 2013-01-28
2
256 Views
Last Modified: 2013-02-11
Hello,

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.

Thanks,
0
Comment
Question by:wesepp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Expert Comment

by:avcontrol
ID: 38827979
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
/directoryToSite1
and
/directoryToSite2

but "behind DNS " name attached to your public IP.....
0
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 38829077
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.
http://www.screencast.com/t/xx72vdIVA
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question