When building a website, you may not want random visitors snooping your pages until you are ready for them. Even while some programs allow you to build your site on your local computer and then publish when you are finished, you still may want to test your site on the live server before opening to the public. In this case, you may want to place an "Under Construction" or "Coming Soon" page in place.
 
The problem lies with how your hosting server looks for the first page of your site, also called the index page. The server looks for pages that are named index.htm, index.html, index.php, and default.htm, in that order. If it finds a file with one of those names, it places that as the landing page of your website. Website design programs most often create an index.html or index.php page. When publishing your site, even for testing, it is likely that the first page will begin to display to the public. This article will guide you on how to create and set up a placeholder page so that you can work on your site in the background.
 

How to create a custom Under Construction/Coming Soon page

  1. Log into cPanel.
  2. Enter the File Manager. Be sure to navigate to the root folder for the domain you are working with. If it is the primary domain, use public_html.
  3. Click on New File, an icon found in the toolbar at the top of the page.
  4. Next, give the file a name. Our example will be named comingsoon.html. Click on the Create New File button to complete its creation. Note this simply creates an empty file.
    create and name the file
  5. Now we need to edit the empty file. Highlight the filename and then click on HTML Editor. This allows you to create the page visually, no coding needed. You can make it as fancy or simple as you wish. In our example we will make it very simple.
    add page content
  6. Once you have designed your page, click on the Save button in the upper left of the tool bar. It appears as a floppy disk.

  7. Now that you have created the page, you need to set the filen ame as your default for your website. Those instructions are found in our article on How to change your default index page in .htaccess. Below is a screenshot of how the page will display on the web once that is completed.
    coming soon page in place
 
Continued Education in Course 202: Managing your Files in cPanel
You are viewing Section 6: Creating an Under Construction or Coming Soon page
Section 5: Using the File Manager Code Editor
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!

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!
Ask a Question
n/a Points
2014-06-26 12:49 pm

i created the webpage for under construction now how do i remove this so that my website gets online ?

Staff
9,162 Points
2014-06-26 12:52 pm
To do so, you will simply revert the changes that you made to your .htaccess file and remove the file that you created.
n/a Points
2014-06-28 3:54 pm

Hello,

What about if we have more than a website on the same hoem directory and we wish to display the message for only one site? Is this possible?

 

Thank you

 

Staff
19,427 Points
2014-06-28 4:34 pm
Hello Tom,

Yes, the public_html is the root folder for your primary domain. Other addon domains will have their own home folders (usually named the same as the website, only the public_html is different in that regard) so they will be unaffected by files in other folders.

Kindest Regards,
Scott M
n/a Points
2014-08-20 4:25 am

I would like to have this default page /underconstraction package in my hosting packages.In that when a clients purchases any package before they add anything  the default page shuld be displayed

Staff
9,525 Points
2014-08-20 10:48 am
Hello Benard,

Thank you for your question. You can setup a custom Landing page in cPanel.

It will then load the custom page by default.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

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.

6 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!