Kristofer
Mon Nov 21 12:41:03 CST 2005
With this information it is clear that
http://www.mydomain.com/default.htm
is not supposed to work, because there is no file with name default.htm in
that location.
"mysite" is not actually a website by IIS's definition. It is (most
likely, but i don't know in your situation) a virtual directory.
I don't recall that i have ever seen something called "WebAdmin" related
to IIS. Could you please browse to the website so you get this logon
prompt, and then check in the IIS log file (wait for a while to the data
is written to the log file, also don't visit the website in between). Can
you find any indication of that the request made it to IIS? I think that
this is not coming from IIS, but from somewhere else. It is not clear if
your "remote PC" is on the inside of the router, or not. Some routers
don't support loopback, so a possibility is that when you try to browse to
www.mydomain.com, the request makes it to the router, but the router never
forwards the request back to the webserver.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
David wrote:
>I appreciate your help here...
>
>In the physical location, â??default.htmâ?? is in the
>c:\inetpub\wwwroot\mysite\
>folder
>In the IIS hierarchy, the mysite website is located under Default Web Site
>
>In the properties dialog box for the website:
>- In the directory tab, â??use the designated directoryâ?? is checked
>- In the directory tab, starting point designated as
>â??<defaultâ?¦\mysiteâ??
>- In the documents tab, Enable Default Document is checked
>- In the documents tab, Default.htm is at the top of the list
>- In the directory security tab, Anonymous Access is checked
>- In the directory security tab, allow IIS to control password is checked
>- In the directory security tab, user name is IUSR_PCName
>
>The â??WebAdminâ?? login prompt looks like a browser prompt asking for the
>username and password for â??WebAdminâ?? at
http://www.mydomain.comâ??.
>Iâ??m
>assuming the dialog box is coming directly from the browser of the calling
>PC
>within my network, since the box is slightly different when using Firefox
>than when using IE on the same machine. IE displays the â??Connect to
>www.mydomain.com with the pair of keys, while Firefox the â??iâ?? in the
>talk
>bubble. (Like I said, I don't get this prompt at all when calling from a
>remote PC. I get the 'Under Construction' message.)
>
>My DSL is an ActionTec DSL Gateway GT701-WG. It has a static IP and I have
>set port forwarding to the webserver PC (w/static IP), and Remote
>Management
>is disabled.
>
>
>
>"Kristofer Gafvert" wrote:
>
>>Do you use a proxy, and localhost is nnot bypassed?
>>
>>Can you verify that when you try to get the default document, the request
>>is actually made to your IIS, and not another machine?
>>
>>And by looking at your other post, it seems that your file is not located
>>in the expected folder. You say that
http://www.mydomain.com/default.htm
>>gives a 404, but
http://192.199.0.6/mydomain/default.htm works. These two
>>URLs do not reference the same. The first one references a document
>>(default.htm) located in the root of the website, while the other
>>references a document (default.htm) in a folder (mydomain). So if the file
>>is placed in the folder named mydomain and not in the root, it is expected
>>to get a 404 when requesting for the file directly off the root.
>>
>>"Entering 'www.mydomain.com' from the local PC brings up a WebAdmin login
>>prompt."
>>
>>WebAdmin login prompt? Is that related to IIS? Or could it be your
>>router's (if any) administration?
>>
>>"Entering 'www.mydomain.com' from a remote PC brings up the 'under
>>construction' prompt."
>>
>>If www.mydomain.com is correctly pointed to the webserver, and the above
>>is true (you have not placed any file named default.htm in the root, but
>>in a folder named "mydomain"), then this is expected.
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>
http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>David wrote:
>>
>>>Thanks for replying.
>>>Yes, I do have that box checked, and the default document is at the top
>>>of
>>>the list. The file does exist in the inetpub\wwwroot\mysite folder.
>>>
>>>I did find that while entering '
http://192.199.0.6/mydomain/default.htm'
>>>from the local PC returns the page, if I enter
>>>'
http://localhost/mydomain/default.htm' from the local PC returns a 404
>>>file
>>>not found message. ('mydomain' w/o www & com reference).
>>>
>>>Any ideas?
>>>
>>>Thanks,
>>>
>>>
>>>"Kristofer Gafvert" wrote:
>>>
>>>>Hi,
>>>>
>>>>First of all, make sure that Default Document is enabled. Under the tab
>>>>where you added your default document, make sure that the check box
>>>>above
>>>>(that says "Enable Default Document") is checked.
>>>>
>>>>Also make sure that your default document is on the top of that list,
>>>>and
>>>>that it actually exists in the correct folder on the file system.
>>>>
>>>>
>>>>--
>>>>Regards,
>>>>Kristofer Gafvert
>>>>
http://www.gafvert.info/iis/ - IIS Related Info
>>>>
>>>>
>>>>David wrote:
>>>>
>>>>>I'm running IIS 5.1 on Windows XP Pro.
>>>>>I've set up a website under the default web site hierarchy in IIS.
>>>>>When I call the website I'm getting the "Under Construction... does not
>>>>>have
>>>>>default page..." message. I've set default page in the documents tab of
>>>>>the
>>>>>site's properties. I've even tried replacing it with different files /
>>>>>different names. Could there be a problem