How to Handle Resources When Creating a Website Clone?
Hello everyone,
I am new on cPanel.
I have set up a WordPress website using WP Toolkit in my cPanel account and now I want to create a separate staging environment. I tried using the clone option, but I don’t really like the way it creates the staging files inside the main website folder. I would prefer having the live and staging sites in separate or sibling directories.
I’m also concerned about testing PHP version updates directly on the live site, as they could potentially cause compatibility issues. So, I’m considering using a separate cPanel account for the staging website.
The main thing I’m unsure about is synchronization. Is there any cPanel feature or WordPress plugin that can easily sync changes between two WordPress sites hosted under separate cPanel accounts?
Thank you for any help or for any suggestion you could give me.
-
Hey there! In general, there wouldn't be a setting inside cPanel that would allow you to copy data to another account as that would require root-level privileges on the system.
However, if you have root access to the server you can use the WHM >> WP Toolkit page and use the "Copy Data" feature to move data to another cPanel account. You could then use the same tool to copy it back once you're done with your testing.
Let me know if that helps!
0 -
okay , i'll try
0 -
You don't necessarily need a separate cPanel account. You can put staging on a separate subdomain such as
staging.example.comwith its own document root/database. WP Toolkit supports cloning to another domain/subdirectory, and its CLI also supports specifying a target path.0
Please sign in to leave a comment.
Comments
3 comments