Browse Ask a Question
Tools Add
Rss Categories

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

Author: Geek Support Reference Number: AA-00431 Views: 7006 Created: 02/08/2011 03:55 PM Last Updated: 02/14/2011 11:58 PM 0 Rating/ Voters

This article will walk you through the steps of creating an index page for your new web hosting account.


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 website) and its' sub directories. 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 in which you create and upload the 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, select index.html from the list and then click Edit.

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.

<title>Welcome to my new website!</title>
Hello World!

You're done!

You can now navigate to your new index.html by going to the temporary URL (contained in your account welcome e-mail).

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.

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