Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Setting up my web root directory
I installed in my LEMP server wordpress under this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-nginx-on-ubuntu-14-04 and it works fine.
Then when I go to my server IP it opens the wordpress site. But I need to have many WP sites, so what I did, is I created a directory called secure/ and I copied the content of the wordpress into another directory that I created in secure/ so now the wordpress site is in secure/wordpress/ but still when I go my server IP it shows the wordpress site and it shouldnt since I moved all the content to another directory.
How could that happens?
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.×