There was a problem loading the comments.

Preview website before making DNS changes on cPanel

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Via the Website Preview tool in cPanel:

We have built a cPanel plugin, that allows you to generate Preview URL's. More details on this plugin can be found on the article below...

 

We've partnered up with the team at SkipDNS.link to bring you completely free access to their amazing tool used to preview your site hosted with us.

Essentially, this allows you to view your websites before changing your DNS settings! 

Getting started is super simple, we've created a plugin located in the Domains section in cPanel called Website Preview

c54e9b7599ef551dc19f2e03b013bffded7760597cb4ab69c25e0c21fe86a737084bd486f0c2217b?t=5c5e56ad1c93f4a5d08c1d7ac697e258

This screen lists all of your Domains, Addon Domains and SubDomains. Clicking on the Generate Preview URL will generate a short unique link. 

The link will expire after 7 days, however, you can generate a new one after this time.

b970bc79c73173bfab9cba66a0de18334e95b591cbcf8f0edd8c8473de373e1a5843a82e9fc31386?t=66c56ddb73f67a761767ad98bf7f1357

Following the link will take you to a Terms and Conditions page provided by SkipDNS. 

1ec2e71cae038aa2971cc5febc02c44db0d44ad55c8ee38e3666cbb73fe355030992395ece4fd5df?t=efa19c79ff5c66427d41fc73e5ae3e98

Feel free to read through this and accept the terms and conditions, this will redirect you to view the site.

 

Updating a Hosts File on Windows:


Go to Start -> All Programs -> Accessories Right click on Notepad, and select “Run as Administrator” Click “Continue” at the UAC prompt. In the notepad application – From the toolbar, go to File -> Open Open the Following File:

C:\Windows\System32\drivers\etc\hosts

(This path may vary based on your drive/installation configuration, and you may need to choose the file type to open from the drop down menu as “All Files” in order to see your hosts file). Add your new host entry to the bottom of the file and save.


Updating a Hosts File in Linux:


Open up your favourite terminal application (Most flavours store the default terminal application in the Accessories folder). Also, in this example, we are using the text editor called “nano” which is pre-installed on most Linux distributions. You may also use other text editors such as vim or emacs if you wish. If you are already logged in as user root, run:

nano /etc/hosts

If you are logged in as a non-root user, run:

sudo nano /etc/hosts

Then authenticate with your password to grant root access. Once the text editor application opens, add your new host entry to the bottom of the file and save.


Updating a Hosts File on a Mac:


You will need to launch your Terminal, which you can search for using Spotlight, or you may also access this via Applications/Utilities Once the terminal application has launched, type the following into the terminal command line: sudo nano /private/etc/hosts Enter the Administrator password. After the file has opened, add your new host entry to the bottom of the file and save. Again, make sure you clear the cache from your browser and in some cases the DNS cache may need to be flushed as well._After you update the DNS for your site, make sure to remove any host entries that you may have added during the process to ensure the domain is resolving in the same manner on your local system as other users on the internet!


Share via
Did you find this article useful?  

Related Articles

© Brixly