No file name wanted un URL

Status
Not open for further replies.

jubenal

New Member
Messages
1
Reaction score
0
Points
0
I recently created a website for my Web Design class. It is:

http://glct.x10hosting.com/glct_home.html

When I type the URL up to the top-level domain, I go to a page titled Index of/that lists the various links found in my project. It shows links to all the sub-pages and the CSS, text, and PDF files in the site. I want the URL to be only up to the top-level domain. I do not want to have to type the file name when trying to access the site home page. I want the viewer to type only:

http://glct.x10hosting.com

to see the site. How do I do this?

Thank You
Jubenal J. Aguilar
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
I recently created a website for my Web Design class. It is:

http://glct.x10hosting.com/glct_home.html

When I type the URL up to the top-level domain, I go to a page titled Index of/that lists the various links found in my project. It shows links to all the sub-pages and the CSS, text, and PDF files in the site. I want the URL to be only up to the top-level domain. I do not want to have to type the file name when trying to access the site home page. I want the viewer to type only:

http://glct.x10hosting.com

to see the site. How do I do this?

Thank You
Jubenal J. Aguilar
rename glct_home.html to index.html

or

Add the following Code in your .htaccess file.
Code:
DirectoryIndex glct_home.html
 
Status
Not open for further replies.
Top