I am trying to better understand the options I have to create development / staging environment with cPanel and WordPress
Overall there are a few approaches, e.g.
From my point of view a dev or staging environment should be
I never used the WP Toolkit Clone feature, however I do see a problem here. This will work only within the same cPanel account. It will create a subfolder in public_html which is just not a nice structure. Every website should be completely in it's own folder and not in the sub folder of another website.
What's a recommended way of doing this? Or am I missing something with WP Toolkit and the Clone feature.
For reference
I am on a reseller account, so I don't have full WHM control but rely on the hosting provider
Till now I did it with WPVivid a WordPress plugin that comes with a staging feature. However, while it worked on my previous non cPanel Hosting, it does not work anymore with the cPanel hosting.
Overall there are a few approaches, e.g.
- completely manually by exporting/importing DB and copying and modifying files
- using a WP plugin to set up a staging environment
- using WP Toolkit as suggested here and use the clone feature How To Clone A Website In cPanel® | cPanel Blog
From my point of view a dev or staging environment should be
- in a separate DB, and not just different tables with a different table-prefix
- in a separate folder and not in a subfolder of public_html
- in a separate cPanel account
- easy to pull/push and even work as a last resort recovery solution
I never used the WP Toolkit Clone feature, however I do see a problem here. This will work only within the same cPanel account. It will create a subfolder in public_html which is just not a nice structure. Every website should be completely in it's own folder and not in the sub folder of another website.
What's a recommended way of doing this? Or am I missing something with WP Toolkit and the Clone feature.
For reference
I am on a reseller account, so I don't have full WHM control but rely on the hosting provider
Till now I did it with WPVivid a WordPress plugin that comes with a staging feature. However, while it worked on my previous non cPanel Hosting, it does not work anymore with the cPanel hosting.
Last edited by a moderator: