February 12th, 2011, 06:01 PM
i have set up 2 web sites on IIS 7 Server 2008
I have very simple page I am trying to display
I can get both sites to work if I specify localhost:80 and localhost:81 for each of the sites , without anything in the HostName
I want to test out locally but using a Hostname, on the second web site,
Have tried http://localhost/MyWEbSite http://localhost:81/MyWEbSite but cant get anything to work with a Hostname in the link
Any help appreciated
February 13th, 2011, 07:19 PM
You can use port 80 for both sites and use bindings by hostname in IIS to direct where each site points to.
February 14th, 2011, 03:19 AM
Thanks for replying.
Originally Posted by seack79
I put in the binding on one but on my local machine nothing happens
February 14th, 2011, 01:53 PM
I think you'll have to visit the "host header" configuration settings in the IIS manager to configure name-based domains.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton