How do I Create an Under Construction Page?

A "Coming Soon" or "Under Construction" page serves as a temporary placeholder that prevents public access to your website while it is still being developed or tested on the hosting server.

When you access your website, servers typically look for the following default pages in this order:

  1. index.htm
  2. index.html
  3. index.php
  4. default.htm

To Create an Under Construction Page:

  1. Log in to your cPanel.
  2. Navigate to the File Manager and open the root folder (use public_html for the primary domain).
  3. Click on New File and name it appropriately, e.g., underconstruction.html.
  4. Click Create New File.

To Edit an Under Construction Page:

  1. Select the filename and click on HTML Editor.
  2. Create the page, including your relevant contact information and a brief description of your company/products.
  3. Save your changes.

To Change the Default Index Page in .htaccess:

  1. The .htaccess file is a hidden text file that can alter your website's default behavior.

  2. In File Manager, click on Web Root (for addon domains, select the appropriate domain from the dropdown).

  3. Ensure Show Hidden Files is checked.

  4. Click Go.

  5. Right-click on the .htaccess file.

  6. Select the Edit option and paste the following code at the top, using your filename (e.g., underconstruction.html):

     
    #Alternate default index page DirectoryIndex underconstruction.html
  7. Save your changes.

  8. Test the page online to confirm it displays correctly.

Additional .htaccess Information:

As an extra precaution, you can add more filenames to the code above. The server will check them in order from left to right. For example:

#Alternate default index page DirectoryIndex underconstruction.html index.htm index.html index.php default.htm
  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

What is Two-Factor Authentication?

Two-Factor Authentication (2FA) adds an extra layer of security to your Domains account. To log...