Question

change existing droplet to host two wordpress sites

Hello,

I’ve got my existing wordpress all setup and working right. Now I want to host another on the same droplet.

Theres guides how to do this starting from scratch, but if I want to do this for an existing site do I still follow these guides and just copy the www from the old location to the new one or can i keep the existing one and add a Second Server Block File?

i’m following this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello friend!

You will want to set up a new Wordpress installation and create a server block for it. Each Wordpress installation will require it’s own MySQL database, so make sure you create one specifically for the new site.

Kind Regards, Jarland