PDA

View Full Version : Upload site problem



minister
13 Oct 2005, 04:35 AM
Hi there i have a site i upload it but i have the following problem when i enter the url of the site for example www.pipa.com nothing come us but if press www.pipa.com/main.html the site works perfectly how am gonna make the main.html to open automaticly with just my main URL pls help i know i am a big noob :***(

Rincewind
13 Oct 2005, 11:03 AM
Generally, the first page of a site has to have a specific name that has been set up in the web server known as the default directory page. For example index.html, home.htm or default.html are common default directory page names. If your server doesn't know the name main.html is supposed to be the default directory page then it just ignores it as if it's just someother.html.

Either rename your main.html to index.html or whaterver the default directory page name is for your server.
OR
Change the default directory name of the server to main.html. This can be done using a .htaccess file. For full details see http://www.javascriptkit.com/howto/htaccess6.shtml