How to Hide Your Website While it is Under Construction

Log into control panel of your web hosting server., Under the tab domains select the Advanced DNS zone editor. , Select the domain., Delete the A record from the DNS Zone., Perform additional steps to give yourself an accessible URL.

5 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Log into control panel of your web hosting server.

    While getting a web hosting services from a renowned web hosting company, you get a control panel where you have different tools which will help you to publish your website.

    Here let's take example of Host Gator.
  2. Step 2: Under the tab domains select the Advanced DNS zone editor.

    , If you have more than one domain that you have hosted, then you have to select the particular domain from the drop down menu.

    This domain will be the one that you will be working on, so you don't want it to be live on the Internet. , What you have to do here is to delete the A record of the domain which will be visible on the first line itself, or if you have edited it before, then on the last line. , If you had already installed Wordpress for that domain and have done content editing for your site before you wanted to remove your site from the internet, then there are few more steps that you need to follow.

    These steps are required so that the admin can have access to the site from both the front end and back end.

    Go to Cpanel again.

    Go under the tab Databases.

    Click on the icon "phpMyAdmin".

    Click on the related Wordpress file.

    If you have a add-on domain existing with your primary domain and that is the domain where you have to made the changes than you can select _wrdp2 which is present under your Cpanel username.

    Wp_option table :
    Go to wp_options table where you have to modify the home and SiteURL.

    Modify the home and site url from your normal domain name to the name including the server ip address.

    For eg : http://xyz.com will be replaced by http://serverip/~yourcpanelusername/xyz.com.
  3. Step 3: Select the domain.

  4. Step 4: Delete the A record from the DNS Zone.

  5. Step 5: Perform additional steps to give yourself an accessible URL.

Detailed Guide

While getting a web hosting services from a renowned web hosting company, you get a control panel where you have different tools which will help you to publish your website.

Here let's take example of Host Gator.

, If you have more than one domain that you have hosted, then you have to select the particular domain from the drop down menu.

This domain will be the one that you will be working on, so you don't want it to be live on the Internet. , What you have to do here is to delete the A record of the domain which will be visible on the first line itself, or if you have edited it before, then on the last line. , If you had already installed Wordpress for that domain and have done content editing for your site before you wanted to remove your site from the internet, then there are few more steps that you need to follow.

These steps are required so that the admin can have access to the site from both the front end and back end.

Go to Cpanel again.

Go under the tab Databases.

Click on the icon "phpMyAdmin".

Click on the related Wordpress file.

If you have a add-on domain existing with your primary domain and that is the domain where you have to made the changes than you can select _wrdp2 which is present under your Cpanel username.

Wp_option table :
Go to wp_options table where you have to modify the home and SiteURL.

Modify the home and site url from your normal domain name to the name including the server ip address.

For eg : http://xyz.com will be replaced by http://serverip/~yourcpanelusername/xyz.com.

About the Author

A

Andrea Sanders

Specializes in breaking down complex crafts topics into simple steps.

60 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: