Virtualmin > Wordpress Staging Site

Hey guys!

I’m wondering what methods you use to easily create a wordpress staging site? I often want to test everything on a seperate website before pushing it to the live site. I know there are lots of plugins that do this, but I was hoping for a more server-side solution.

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.5 LTS
Webmin version 2.202
Virtualmin version virtualmin-core 7.0.0, webmin-virtual-server 7.30.4.pro-1
Webserver version Apache/2.4.52

@thebomb,

When I develop sites in general, I typically publish a version at “sandbox.domain.com” or some variation like “sb-250220.domain.com”.

This allows me to test everything as if it were the live site, show customers results ahead of schedule or anything else pre-launch.

Also if an existing site lives at “domain.com”, I wouldn’t be disrupting this copy until the new version is ready to be launched.

I suppose, with WP, you would have to make some adjustments once you launch the site as the database and possibility a few config files would be referencing the “sandbox” version until you adjust those settings, but that’ should be trivial.

When you migrate the site to the new domain how do you handle the serialised URLs in the database, I have used velvet blue and it’s new replacement but I was wondering if there was a non-plugin method?

if you need something quickly, wpvivid works, alternatively, simply create additional site and test on it and then move it to main site using wpvivid or updraftplus.

virtualmin pro seems to be coming with staging feature but there is no ETA

Thanks, I will have a look.