I must be slow (mentally)

Status
Not open for further replies.

langevinrox59

New Member
Messages
1
Reaction score
0
Points
0
when i go to my homesite www.gamenight.elementfx.com it just gives like a list of files, how do i get it to load a page instead of like a index style page? Like when someone visits www.gamenight.elementfx.com, just have it load Home.html or Main.html? Probably a dumb question but i'm havin a hard time figuring it out.
 

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
In order to get your website to work the way you want it to, (which is the usual way of setting up a website), there needs to be an index file in the public_html directory. This file might be named index.php, index.htm, or index.html depending on the coding you are using. In your case this file should probably be named index.html . From what I can see I believe that if you rename Home.html to index.html you should be all set. Also remember that file names are case sensitive - Index.html and index.html are not the same.

Hope this helps.
If you have any other questions or comments just post back and we will be very happy to assist.
 
Last edited:

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
If you want to have another page load instead, create a .htaccess file in the root public_html and add this line:

DirectoryIndex home.html

Replace home.html with whatever file you want to be the index page.
 
Last edited:
Status
Not open for further replies.
Top