Knowledge Base
MilesWeb / Plesk FAQ

Using Plesk To Stage Websites

Approx. read time : 2 min

This knowledgebase explains how to use Plesk to stage websites.

Website Staging

A staging website is actually an independent clone of your live website that visitors can see. This website has the same software, hardware and same settings as your live website. Thus the staging website is useful when you make the changes on the code and content of your website. Just by performing some of the easy steps Plesk enables you to easily configure a testing environment for your website.

How to Set up the Website Staging Environment?

By creating a new domain or subdomain, you can host the staging environment in your current webspace on Plesk. For example: To use a testing environment for your primary domain ‘example.com’ you can create a staging.example.com subdomain.

# Steps to Copy The Website

Once you configure the staging environment, you need to copy everything from the existing production environment to the new staging environment. Perform the following steps to do so :

1. Log in to Plesk.

2. On the left sidebar of the Plesk panel, click on Websites & Domains.

websites & domains

3. Identify and locate the website that you want to copy and then click on Website Copying.

Website stage 2

4. Under the Copy Destination section, select Website in Plesk.

5. In the drop-down list of the Site name, select the destination domain.

6. In the section for What to do with existing files, select what you want to perform with any files that may already exist on the destination domain.

7. Now click on the OK button. Plesk will copy the site to the destination domain.

#Steps to Copy Databases

If your website uses databases (or databases), then you must copy them all to the staging environment also. Perform the following steps to do so :

1. Log in to Plesk.

2. In the left sidebar for Plesk panel, click on Databases.

3. Identify and locate the database that you want to copy, and then click on the Copy button.

website stage 3

4. In the drop-down list box for the Destination database server, select localhost:3306.

5. In the section for Destination database, click on Create database with name, and then enter the name for the new database.

6. Select the checkbox for Create a full copy.

7. Click on OK. Plesk will copy the database.

# Steps to Publish the site

Once the testing of the staging environment is done, you can go live and publish your website. Perform the following steps to do so :

1. Log in to Plesk.

2. In the left sidebar for Plesk panel, click on Websites & Domains.

websites & domains

3. In the list of domains, identify and locate your production site, and then click on Hosting Settings:

website stage 5

4. In the text box for Document root, enter the directory for the staging site environment.

5. Click on OK button.

That’s it, you are done!

Also Read :

1) Learn to configure Silverlight in Plesk

2) How to use WordPress Toolkit in Plesk ?

With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna