By babyjungle
So far I found a tutorial of how to install a simple WP installation on LEMP under Nginx, but actually what I want is to use the server to host my Html and my WP sites.
Does anyone knows any tutorial on how to configure the server ready to host many WP sites?
Thanks.
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!
I have my root web directory at /var/www/html/ and following the tutorial, I created a folder with the name Wordpress.
What I actually need is to have at the root directory, my main corporative website which is even in HTML so I just could upload the files and that is. But then, I need to have all my wp sites organized in a directory. I will call this directory secure/
What I would like to do, is configure 1 WP installation with the default plugins that I always use, like W3 supercache, Toast Seo, etc, and then, once I need a new WP installation, I think that I should do this:
Then, I’m not sure if the following commands are correct:
cp -r wordpress newfoldernamecd directoryname and edit the file nano wp-config.phpsudo nano /etc/nginx/sites-available/newfileAm I in the right way? Could someone let me know if the steps are correct and help how to copy/clone the database and copy the nginx configuration file?
Many thanks
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.