When designing your website, you may want to create a custom Coming Soon or Under Construction page. Some people, however, may want to have a simple image file as their homepage. To do this, you will need to first upload the image to your account, and then set the account to look for that image instead of the normal default index file. Below are the instructions on how to do this.

Note that this is not recommended due to the way different browsers will display the image. The preferred method is to create a custom Coming Soon page and insert your image as part of the page. This way it will display the same in all browsers.

How to place an image file as your default landing page

  1. Log into your cPanel dashboard
  2. Upload your image file via the File Manager. Be sure you select the checkbox for Show Hidden Files (dotfiles). It is highly recommended you upload the image into the root folder for your domain. For the primary domain, this will be the public_html. To enter that folder, select the Web Root radio button.
  3. Once the image is uploaded into the main folder, find the .htaccess file. Highlight the file and click on the Edit tool located in the toolbar across the top of the page. Another popup may appear, simply click the Edit button to continue.
  4. Once in the editor, at the top of the file, enter the command DirectoryIndex <image file name> where the <image file name> is the name of the image you want to display. For example, if you upload an image named comingsoon.jpg your code would look like the sample below:
    DirectoryIndex comingsoon.jpg
  5. Once you have entered the code, click on the Save Changes button to finalize the change. You can now visit your website and see the image as your homepage.

 

 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}