My html file is not shown when my page link is used in internet explorer, it is shown as a file in my server directory, to display it I have to click on the file, it then opens . Should I be adding something to my html document. Please point me in the right direction.
In general, the Web server is set up to choose a file to display if the filename is not specified. Generally, the file chosen is one called index.html (some servers use default.html instead). So is the same as .
If index.html doesn’t exist, a directory listing will be displayed, which is what you’re seeing. To get the file to display automatically, just change its name to index.html (or whatever your server’s default is — your hosting provider’s tech support can tell you this).
Leave a Reply
Hello Fellow Webmasters!
Welcome to WebmasterTechs.com, your source for great webmaster resources and tips! Enjoy the site!
REFERRAL TRAFFIC CONTEST! Simply refer visitors to this site using the link given to you at registration. Top referrer wins choice of ANY script here FREE! (ends 08/30)
November 5th, 2006 at 9:39 pm
If it is home page, you have to rename it to be INDEX.HTML or HOME.HTML
November 8th, 2006 at 11:31 am
In general, the Web server is set up to choose a file to display if the filename is not specified. Generally, the file chosen is one called index.html (some servers use default.html instead). So is the same as .
If index.html doesn’t exist, a directory listing will be displayed, which is what you’re seeing. To get the file to display automatically, just change its name to index.html (or whatever your server’s default is — your hosting provider’s tech support can tell you this).