Magnameaponta
Magnameaponta

Reputation: 1

HTML uploading problem

i want to upload my first website (it is a simple html file) and when i write on the browser www.examplesite.com it just don't open the site, it opens a raw directory listing where i have to click the "index.html" (which is my site) to get redirected to the real site. How can i fix this? Thanks :)

Upvotes: 0

Views: 39

Answers (2)

Rowland Shaw
Rowland Shaw

Reputation: 38130

Webservers can be configured to server different things as the "default" webpage if browsing to a folder - normally, your local, friendly, server administrator should be able to tell you what name(s) to use - index.html is common, but you could try "default.htm" if it's hosted on a Windows server.

Upvotes: 1

SpliFF
SpliFF

Reputation: 38976

Do you control the webserver? If so you need to tell the server (ie, Apache, IIS) to use index.html as the "Directory Index". If not ask your ISP to enable it.

Upvotes: 1

Related Questions