Depending on how your website is setup and coded, you should be able to just move everything from the "website" directory into the main (typically public_html or www) directory.
The typical directory structure of a website goes like this
Code:
/home
--> /maildir
--> /public_html (document root directory)
--> /images
--> /other_folders
--> /accessible_from_web
--> index.html (file)
--> page.html (file)
--> other_page.html (file)
--> /tmp
--> /folders_not
--> /accesible_from_web
In order for your site to be viewable then going directly to the top-level domain name, all items must go in the document root directory. In order for a page to be viewed when going to the top-level domain (not including specific .html page address), you must have an index.html file. If you do not have an index.html file, you will see a directory listing (everything in that document root folder)...or in some cases, you will get permission denied if directory listing is turned off.
[EDIT]
It is very important to learn how the directory structure works. Here's some reading.
http://www.matcmp.sunynassau.edu/~glassr/html/url.htm
[/EDIT]
Last edited by techwench; 10-12-2004 at 12:38 PM..
|