main page of website name

Status
Not open for further replies.

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
Howdy;
The default first page on most websites is the "index" file which made be named "index.html", "index.htm", "index.php", or possibly even "index.somethingelse" depending on the particular coding / script you are using. The index file should be placed in your "public_html" directory under most circumstances.

Example:
If I were to use a plain text editor and create a file named "index.html", (without the quotes), with the following content:

<html>
<head>
<title>This Is My Website</title>
</head>
<body>
Howdy
</body>
</html>

and then upload that index.html file to my public_html directory, I would see a page titled "This Is My Website" with the word "Howdy" when visiting my website.

If you have any other questions or need additional assistance just post back.
- Carl
 
Last edited:
Status
Not open for further replies.
Top