Web.config problem while running multiple websites using host headers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teddarr
    New Member
    • Oct 2006
    • 143

    #1

    Web.config problem while running multiple websites using host headers

    I have a Windows Server 2003. I am trying to run multiple websites on the server.

    I am using host headers to run the websites on only one ip address.

    Before anyone says this is an iis issue and in the wrong forum, Please note that I have tested all the host header settings with a simple hello world html file and everything works great.

    I get a runtime error that tells me to change custom errors to "Off". The main problem is that custom errors are off but I still get this error and it won't reveal the actual server error.

    I have 3 different websites I'd like to run.

    Currently the default website is working but no others.

    All the domains have an a record pointing to the network router. The router is conficured correctly to send all website requests to my server.

    One the server and for each website I went to the IIS manager on the Websites tab and have the IP address set up as the server's IP. I click the advanced button and add a value. I use the server IP, port 80 and the host header value such as www.example.com .

    On the Home Directory tab, I have the correct local path specified, And I have Scripts and Executables for the Execute permissions. I have also created a separate Application Pool for each website and have that application pool specified on the home directory tab.

    When I type in the url for the desired website using the iis default website all works great. When I type in the url for one of the domains I want to use host headers for I get a runtime error. The web app works great on the development server and when used as the default website in IIS, but will give the runtime error only as a host header.

    Any ideas?
Working...