Saturday, August 8, 2009

Web server not loading the index.HTML file automatically?

hi I%26#039;m new to the webserver and hosting world.



i have setup my windows server 2003 and iis6 and asp all working really well. just i seem to be having a small problem i added my site in iis and if i want to brows it it comes up with the sit is under construction witch its not, if i open my browser and type http://www.myite.co.uk/index.html it works fine but if i just type http://www.mysite.co.uk it goes to the under construction page.



i have changed the default content page but still no luck.



any help will be great



Thanks



Web server not loading the index.HTML file automatically?





Hi, I%26#039;m an Apache person, but I understand that IIS out of the box has default.htm as the file it loads. You said that you had tried to edit default.htm (is that correct? I heard that it is a dynamic page, so perhaps that%26#039;s why you edit it but don%26#039;t see the changes). Forget it perhaps and sort out the config of IIS so that it loads the index.html first. Try within %26quot;Site settings%26quot;. Also, you could try changing the filename of index.html to index.htm as I heard it might be configured to load. Not sure if this will help, but hope so.



Web server not loading the index.HTML file automatically?



change code on http://www.mysite.co.uk



place between head tags



%26lt;head%26gt;



.......w/e u have



%26lt;meta http-equiv=%26quot;refresh%26quot; content=%26quot;3;url=http://www.mysite.co.uk/i... /%26gt;



%26lt;/head%26gt;



Other Replys:For an IIS server, I believe that the default file extension is .htm. The server, if it%26#039;s properly configured, should look for a file called index.htm, then index.html, index.asp, and I think even index.txt - so it%26#039;s possible that your server is only looking for index.htm and can%26#039;t find it.



Try either re-configuring the server, or re-naming your file, and then you should be ok.

No comments:

Post a Comment