How to Host Multiple WordPress Websites on One Server with Nginx

Hosting on Digitalocean – How to Host Multiple WordPress Websites on One Server with Nginx


How to Host Multiple WordPress Websites on One Server with Nginx

Hosting on Digitalocean

Learn how to host multiple websites on a single IP address or server. This video will teach you the Nginx configuration settings necessary to run many …

you search:

Hosting on Digitalocean

How to Host Multiple WordPress Websites on One Server with Nginx

22 thoughts on “Hosting on Digitalocean – How to Host Multiple WordPress Websites on One Server with Nginx

  1. I followed your blog post verbatim using a Debian 10 VM on Digital Ocean.

    The problem I'm running into is when I try to upload images to blog posts on the example WordPress site I deployed via this error:
    Unable to create directory wp-content/uploads/2021/05. Is its parent directory writable by the server?

    I noticed that the 'uploads' directory isn't present at all. Also, all of the files and directories in the site itself is owned by 'noone' and by 'nogroup'.

    Was the MySQL portion supposed to have created the appropriate user for the Debian 10 VPS itself, or do I need to also create a 'wordpress' user, reassign all the directories to this user, and change the permissions to be 755?

    Also, should this same 'wordpress' user be somehow tied to the Nginx config (/etc/nginx/sites-available) and to the PHP config (/etc/php/7.3/fpm/php-fpm.conf)?

    I ask this because I'm able to access the site just fine, and am able to login as an admin, I just don't understand the lack of permissions on the box itself, and why the uploads directory isn't created by default.

  2. 1) Any chances for more extended tutorial on Vultr ? "How to Host Multiple WordPress Websites on Server VULTR with Nginx (with SLL & Domain Email Setup)" I have my domains on beget.com I want to create my sites on Vultr from scratch. On BEGET I have my emails setup on backend of my account on Beget.com
    2) One more question what is way to go this command line method or Wordops method ?

  3. I installed a LEMP server to follow you but i dont have www directory in my /var directory. I searched for that and read /var/www/html directory is for apache2 server and /usr/share/nginx/html directory is for nginx server. How do you get html file in www directory on a LEMP server? What i am missing, i don't get it.

  4. so if I run a multiple website on one web server it will means all website I link in on my web server is shared on the capacity of the web server storage disk? I hope you understand what I mean… Couse I was now good in English… thank you so much for sharing informative video tutorial!!! I love it!!!

  5. Your tutorials are super helpful. I really learned a lot on how to use Linode. I wasn't able to get much help from their support team but still plan on using them.

    Thank you for solving the issue I emailed them about — how to host two websites on a server. Thank you!

  6. Thanks for the video. How many websites can I host under a VPS doing this? Is this like "messing with the server" or its how it's supposed to do it? I am new to this and I am moving from Cloud Server to VPS

  7. This would be a top notch tutorial and educational video if it was complete. But there is no SSL here, theres no mention of the loss of encryption between the proxy and the site and how to do this in production not local development

  8. thank you a lot that's a valuable lesson for me, just have 1 question, i do everything as you did step by step, but i have a 403 error forbidden, i google it and it seems like to be that nginx doesnt found an index.php file, but is there inside my wordpress directory hummmmm so iam still looking for that thank you again 😀

  9. Hey Tony, great video! Followed all of the steps to a T, but I'm getting a Bad Gateway error. Any easy fix for that? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *