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.
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!
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
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.