Question
How to change a website location and point domain to it's new path?
So 2 days ago I created a droplet with the automated wordpress builder digitalocean has. Looking at the future I might want to host multiple wordpress site on 1 droplet, and I’m trying to figure out how to go about this.
First, can I safely create a domain.com folder in var/www/ and move all the files there without breaking anything? Or are the databases configured in a way that make this impossible?
And second, after succeeding in step 1, with what putty commands would I redirect the domain to it’s new path at var/www/domain.com?
Thanks in advance!
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.
×