Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We can access our website from other systems, but when logged into the local machine where the site is hosted it does not resolve to the site... for example: http://mysite.com/folder/page.aspx gets a 404.... from the local machine we also cannot ping mysite.com ... What are some common things to check to troubleshoot this issue? I'm new to IIS 7 so sorry for the vague question.

share|improve this question

3 Answers 3

Sounds like a DNS issue. Setup an additional binding to port 80 with a blank host name. Then access the site via http://localhost/ or http://127.0.0.1 - you should then see it. Then it's a case of diagnosing the DNS issue.

One solution would be to 'hardcode' it in the hosts file (C:\Windows\System32\Drivers\Etc\hosts) as 127.0.0.1 mysite.com

share|improve this answer

In 2003 R2 and up, there is a security thing preventing you from using a alias to reach the localhost.

You can either add an OptionalName using this command (fill in ALIAS):

netdom computername ALIAS /add

Or just turn off the security check altogether (if you run the first command, it will create a OptionalName key in this same location):

  1. Locate and click the following key in the registry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
  2. On the Edit menu, click Add Value, and then add the following registry value:
    Value name: DisableStrictNameChecking
    Data type: REG_DWORD
    Radix: Decimal
    Value: 1
share|improve this answer

Reviewing the W3SVC logs is a common thing to check to troubleshoot this issue.

See here for more info on IIS logging:

http://learn.iis.net/page.aspx/579/advanced-logging-for-iis-70---custom-logging/

Specifically in your case, confirming the substatus code for the 404 may prove useful. Use this article to decipher these codes in IIS7:

http://support.microsoft.com/kb/943891

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.