« Previous Next »

Thread: Site Bindings

Last post 01-21-2009 10:58 AM by ServerIntellect_BH. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 01-21-2009, 10:46 AM

    Site Bindings

    I am using Window Server 2008 and IIS 7. I have added a site and the name is mywebsite.com. I have put this site in the file structure C:\inetpub\wwwroot\mywebsite. I have the url mapping to 127.0.0.1 and it works just fine.

    When I tried to add a site binding url test.mywebsite.com for the website in IIS, I get a

    HTTP Error 404.0 - Not Found.

    The browser is looking in C:\inetpub\wwwroot\Default Web Site when it should be looking into C:\inetpub\wwwroot\mywebsite based on the mappings. I have even added the test.mywebsite.com to 127.0.0.1 but it still is looking into the wrong place. Thank you in advance and I apologize if my question has holes in it as I am new to IIS and web hosting.

     

  • 01-21-2009, 10:58 AM In reply to

    Re: Site Bindings

    Hello,

    It seems the Default Web Site is catching the requests for "test.mywebsite.com". You could stop or remove the Default Web Site to see if that resolves the issue, if the site is not needed.

    Most likely the Default Web Site is configured to catch all unassigned requests.

    It could be that "test.mywebsite.com" is resolving to an IP address configured in the Default Web Site's bindings and overriding the correct sites bindings.


    Verify the DNS record for "test.mywebsite.com" matches the IP Bindings in IIS for the "test.mywebsite.com" site.

    You could also configure the test site to make it accept all unassigned requests to see if that will work.


    Hope this helps!

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
Page 1 of 1 (2 items)
Microsoft Communities