Report this

What is the reason for this report?

Will adding Apache Virtual host on var/www/new-domain.com/public_html not affect the site already exisiting in var/www/?

Posted on July 16, 2014

I already have a wordpress site running and working in var/www in Ubuntu 12.04. If I add a server block at /var/www/new-domain.com/public_html… will it affect the currently existing site in /var/www/?



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!

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.

what about putting /var/www site into /var/www/domain.com and then have /var/www/new-domain.com for the new one?

or you can put the new site in /var/www2/ or something like that dont forget to add the directory to the www-data group

The existing site is actually live and very important. I am just weighing the risk of adding a new virtual host. :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.