Client: "I’d like to try some alternative themes for my WordPress site you’re hosting, but I’m afraid of breaking the production site."
Me: "Say no more."
I start:
- create a record for the test site
- bastille clone -l prod testing ip
- bastille console nginx → edit nginx proxy, add the new domain → certbot --nginx -d newdomain.tld
- bastille console testing → mysql → UPDATE wp_options SET option_value = 'https://newdomain.tld' WHERE option_name = 'siteurl';
UPDATE wp_options SET option_value = 'https://newdomain.tld' WHERE option_name = 'home';
- "Done. You can now connect to..."
FreeBSD, jails, ZFS. No limits.
Edited 8d ago