« Previous Next »

Thread: creating a website in IIS 6.0

Last post 10-06-2008 5:46 PM by Kreshiv. 12 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (13 items)

Sort Posts:

  • 10-03-2008, 2:53 PM

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    creating a website in IIS 6.0

    Hi, I created a website and would like to add a host header value. Default Website -> Advanced ->(my IP Address):Port 80 ->host-header value. Under default website is my Website virtual directory. I get this error: - The requested URL could not be retrieved -------------------------------------------------------------------------------- While trying to retrieve the URL: http://(Host header value)/(Application name)/Default.aspx The following error was encountered: Unable to determine IP address from host name for awap.com The dnsserver returned: Name Error: The domain name does not exist. This means that: The cache was not able to resolve the hostname presented in the URL. Check if the address is correct.
  • 10-03-2008, 3:09 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,187
    • IIS MVPs

    Re: creating a website in IIS 6.0

    Where do you get that error?

    What host header name are you using?

    Is this setup in DNS?

  • 10-03-2008, 4:34 PM In reply to

    Re: creating a website in IIS 6.0

    Hi!

    The message you see seems to be coming from a proxy. For the host header value you want to use, have you created the proper records in the DNS server?

    If i do a nslookup on awap-wellsfargo.com, it says it cannot resolve the domain name. Is this the domain name you have added as a host header value, and is it supposed to be available on the Internet?

  • 10-03-2008, 4:48 PM In reply to

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    Re: creating a website in IIS 6.0

    I made the change in: C:\Windows\System32\Drivers\etc\hosts. Is that enough
  • 10-03-2008, 4:48 PM In reply to

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    Re: creating a website in IIS 6.0

    Host header name is: awap.com
  • 10-03-2008, 4:57 PM In reply to

    Re: creating a website in IIS 6.0

    Kreshiv:
    I made the change in: C:\Windows\System32\Drivers\etc\hosts. Is that enough

    It depends on your settings in the browser. If you use a proxy, the proxy will try to lookup the domain name to a IP address (which it will do by querying the DNS server, not by checking the hosts file on a client machine). If the domain name cannot be resolved, it may return the error message you see.

    So my guess is that the setting is not correct in the DNS server, and/or that the proxy you use cannot properly resolve the domain name.

  • 10-03-2008, 5:05 PM In reply to

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    Re: creating a website in IIS 6.0

    So how to remove proxy settings. Or how to proceed with this?
  • 10-03-2008, 5:07 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,187
    • IIS MVPs

    Re: creating a website in IIS 6.0

    Kreshiv:
    I made the change in: C:\Windows\System32\Drivers\etc\hosts. Is that enough

    It is if your machine is the only one in the equation - but, as K says, if there's a proxy involved ...
  • 10-03-2008, 5:12 PM In reply to

    Re: creating a website in IIS 6.0

    If you use Internet Explorer:

    - Click Tools->Internet Options
    - Click on the Connections tab.
    - Click the button LAN Settings.
    - Uncheck "Use a proxy server for your LAN"

    Do note however that this may cause other issues. You may be required to use a proxy (company policy or such). You may also not be able to change this, if you have group policy preventing it.

  • 10-03-2008, 5:17 PM In reply to

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    Re: creating a website in IIS 6.0

    I cannot uncheck that. Instead i have added my address in Do not use proxy I get this error:HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. Internet Information Services (IIS)
  • 10-04-2008, 3:45 AM In reply to

    Re: creating a website in IIS 6.0

    Were you prompted to log on, and this came after you have tried to logon with a username and password?

  • 10-06-2008, 7:04 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,187
    • IIS MVPs

    Re: creating a website in IIS 6.0

    401.1 means a bad username or password.  If you're allowing anonymous access, make sure the password specified for IUSR in the IIS MMC matches what is assigned in user manager.

  • 10-06-2008, 5:46 PM In reply to

    • Kreshiv
    • Not Ranked
    • Joined on 09-25-2008, 6:25 PM
    • Posts 8

    Re: creating a website in IIS 6.0

    did aspnet_regiis -i and did aspnet_regiis -e Got my application worked.
Page 1 of 1 (13 items)
Microsoft Communities