Hi, we have a intranet site running on a Fedora Core 5 box. Recently the site comes up with "Index of /" when called by name. The correct home page will come up by IP address. How do I fix this? No changes to DNS have been made that I know of.
First look at the AccessLog to make sure your queries are actually being serviced by the correct web server. Make sure using "ping" that the name you use is the same as IP you type in.
The second cause is a bit far fetched. If you are using NameBased Virtual hosting, the "default" has the correct config and the ServerName corresponding to "name" is incorrect. Or if using IPbase Virtual hosting, the IP bindings are wrong for ServerName "name".
Found it. The users having the problem had external DNS servers defined. When I changed them back to our local FC5 box, the site came up by name. Thanks for your quick response.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.