Have you just activated a SwizzHosting service and want to use it without officially showing visitors the result?
In this article, we will give you a few tips on how to preview the site you are publishing, without making your tests public. This way, your visitors will continue to see your current website, while you (and only you) will be able to view the new content. In addition, you will not have to change any parameters of your primary hosting, so that you can continue to use your official website until you want to publish it officially.
The first step is to associate the hosting package with the domain.
This association only serves to activate the product! It will not make any changes to the display of the site currently on the main domain!
Follow these steps:
2. On the cPanel dashboard, click on Configure button, near the package you want to activate
3. Enter the domain name and administrator email address for that hosting package
Now that you have completed the hosting package association, you have two choices for testing the site:
One of the most practical methods of testing the website you are building on your new hosting is to create a test sub-domain (e.g. tests.swizzhosting.com). You will then be able to publish and view your website by typing evidence.swizzhosting.com . By typing www.swizzhosting.com instead, your visitors will continue to visit the 'official' site. As soon as you have finished testing and are ready to make your site public, simply replace the contents of evidence.swizzhosting.com with www.swizzhosting.com.
2. Enter the name of the subdomain and select the domain on which you want to create it. Then confirm the operation with the appropriate button
In the last field Document Root leave what the system suggests by default.
3. Publish all your files on your web space, in the subdomain folder
4. Test your site by directly calling up the url of the subdomain (e.g. http://test.swizzhosting.com
Once you are satisfied with your site, move the files to the /public_html folder and edit the domain pointing.
This procedure recommends modifying a system file on your computer. Any errors in the procedure could lead to malfunctions or errors in surfing the Internet. Always save a backup copy of the file you are going to modify before making any changes, so that you can restore it in case of problems! If you are unsure about making this change, we recommend that you follow method 1!
You do not want to create a subdomain, but only view the new site from your computer? You can change the configuration of the hosts file on your computer: only you, when visiting your domain, will reach the platform of your Linux hosting, while all other visitors will continue to reach the current platform.
4. Click on File and then on Save
Now, when visiting your site, you will see the new hosting space, while all other visitors will continue to view your official site!
2. Copy this line into your terminal:
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /private/etc/hosts
3. Enter your Mac's administrative password
4. Now go to the bottom of the file and type <your Linux hosting IP Address> <your domain>
5. Then click on File > Save
When visiting your site, you will see the new hosting space, while all other visitors will continue to view your official site!
Contact our experts, they will be happy to help!Contact us