Browse
 
Tools Add
Rss Categories

Getting started with a website (how to create an index page)

Author: Geek Support Reference Number: AA-00431 Created: 02/08/2011 03:55 PM Last Updated: 02/01/2023 12:59 PM

This article will walk you through the steps of creating an index page for your new website with a cPanel hosting account.

Contents:


What is an index page?

An index page is the starting page (landing page) of a directory on your account. An index page is typically placed in the public_html directory (the public directory of your hosting account's main website). You may recognize an index page as index.html, index.htm, index.php, etc..


How do I create an index page for my website?

For this article, we are going to use the cPanel File Manager to create a website page, named index.html, in the /public_html/ folder of an account. The method you use to create and upload an index page has no bearing over its functionality as the landing page of a directory.

cPanel's File Manager

Once you are logged into cPanel, navigate to Files >> File Manager

Since we are creating this index file for the /public_html/ directory, leave Web Root selected and click Go.

Select New File

Input the name of the file as index.html and then click Create New File.

Now that the file has been created, right-click on index.html in the directory listing and then click Edit.

We are now going to create a "Hello World" page using HTML. Type the following text in the input area and then click Save Changes.

index.html
<html>
<head>
<title>Welcome to my new website!</title>
</head>
<body>
Hello World!
</body>
</html>

You're done!

You can now navigate to your new index.html by going to the temporary site URL contained in your account welcome e-mail, or at your hosted domain name if the domain is already pointed to your account.


Have any questions?

If you have any questions or need assistance, please contact Geek Support.

Please help us make Geek Knowledge better!

Your comments can help make Geek Knowledge better for everyone. Please take a few moments to comment on this article if you found it helpful or feel it needs improvement. Registration is not necessary.

Comments
  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below: