I have an existing website hosted by a different company. I want to create a private Wordpress site in DO and copy my domain to this private site for testing. My question is can this be done? Not looking for a how to - just can it be done. If someone has already done something similar any lessons learned would be great.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Greetings!
This can absolutely be done. The steps are going to vary based on where you’re coming from (shared hosting, for example, is a different process than a pure LAMP server). I know you said you weren’t asking for a how-to, but I just want to cover the high level points for this:
On the other side:
On this side:
Then you need to change the Wordpress URL on the duplicate site. Otherwise it’ll redirect back to your production site when you visit it. Changing the host file on your system can change that, but you’ll be changing it back and forth to go between dev/prod, and that isn’t reasonable for most people. Some tips on changing the URL:
https://codex.wordpress.org/Changing_The_Site_URL
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.