pattern promo banner arrows
store logo

Join 1 million+ sellers & claim your .store domain now!

100% Australian Owned and OperatedSupport Centre13 24 85Pay an InvoiceLOG IN
supportcentre scaled
Support Centre
Find the answers to your questions and get the support you need with the VentraIP help centre.

Creating a staging environment in cPanel

Please note: These are general steps you can take to create a staging sub-domain in cPanel and copy a website over to it. However, please keep in mind that there might be some extra steps we cannot cover in this guide on any changes you may need to make, that might be specific to your website or CMS (WordPress, Magento, Joomla, etc).

Create the staging/dev sub-domain

  1. Log in to cPanel.
  2. Click on Domains.
  3. Select Create a domain, and input the staging name you wish to have (i.e
  4. Document Root: This should be filled out for you if you click outside the Subdomain or Domain boxes
  5. Click Submit.

Creating the staging/dev database and database user

Create a new database

  1. Log in to cPanel.
  2. Click on PHPMyAdmin under Databases.
  3. Click on the database you want to clone/copy to a new dev/staging database to the left of the page.
  4. Click on the Operations tab.
  5. Under Copy database to, input the suffix you want for the new dev staging/database (this can be “dev”, “staging” or whatever you like).
  6. Make sure the Structure and data option is selected bellow (there is no need to make any other changes).
  7. Click Go.

Create a new database user and adding it to the new database

  1. Log in to cPanel
  2. Click on MySQL Databases under Databases
  3. Under Add New User, input the following:
    1. Username: We suggest making the beginning of the username the same as the user for your live site, but add “_dev” or “_staging” at the end.
    2. Password: This can be anything you like, as long as it meets the strength requirement.
    3. Password (Again): Simply input the same password to confirm
  4. Click Create User
  5. Then, under Add User To Database
    1. Select the user you just created in the User drop-down menu
    2. Select the database you created in the Database drop-down menu
  6. Click Add
  7. Check the ALL PRIVILEGES checkbox on
  8. Click Make Changes

Copy the website files to the new staging/dev folder

  1. Log in to cPanel.
  2. Click on File Manager under Files.
  3. Navigate to the folder that your website is contained in (typically this is the public_html folder).
  4. Click on the top file/folder, then hold SHIFT and click on the bottom file/folder. cPanel compress files
  5. Click Compress.
  6. Click Compress Files in the dialog box that appears.
  7. Click on and drag the compressed file to the new staging/dev folder, which you should see to the left of the File Manager interface.
  8. Open the folder you moved the compressed file into by clicking on it.
  9. Right-click on the compressed file, then click Extract.

Final steps

From here, you may need to make some changes to your staging/dev site’s configuration files in order for it to function properly. Because there are so many different websites and website platforms out there. Unfortunately, we cannot cover this part of the process, as there are so many unknown variables.

In regards to WordPress websites, you can have a look at the MySQL Settings section of this guide. Which explains a little bit about update your wp-config.php file, to connect to the new database.

misc content center scaled