pubgapps
By:
pubgapps

Setting up several standalone WP sites

February 2, 2015 739 views

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.

1 comment
  • 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

1 Answer

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

Have another answer? Share your knowledge.