Setting up several standalone WP sites

  • Posted on February 2, 2015
  • pubgappsAsked by pubgapps

I had WP installed on creating a droplet. It sits in the IP address I was allocated. I am not using it for anything right now. I want to set up a few other virtual domains which will run out of the same directory - so if var/www is the web directory with the initial WP installation, then I have directories mynewdomain1,mynewdomain2 etc co-mingling with WP directories like wp-content, wp-admin etc along with the files wp-config etc. Is there a better way to do this? For example, shall I delete the initial WP file installations and run everything through the virtual domains? I don’t plan on using multisite at this time.

Show comments

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.

This question was answered by @ryanpq:

While this method will work it may be easier to manage if you create completely seperate root directories for each domain/wordpress installation. So having:

/var/www/domain1 /var/www/domain2 /var/www/domain3

would be easier to manage than

/var/www/domain1 /var/www/domain1/domain2 /var/www/domain1/domain3

View the original comment