Setting up WordPress Multisite
-
I want to host two separate websites on my server. I have installed a LAMP stack on Ubuntu 24.04 running on an intel i7 with 16GB ram and a 1TB hard drive. In order to get this far I had to set up a domain configuration file (Nginx calls them server blocks) for one website. Then I setup a directory /var/www/onedomain and created a test index.html file (Hello world!) to test the setup. The test was successful and now I am ready to install WordPress, but I am confused about whether or not I need a second domain config file (server block?) and what directory to use for the second website files.
One option is /var/www/wordpress and put everything (for both websites) in there. Alternatively, I could put two subdirectories under wordpress (one for each site), or I could have two subdirectories under /var/www (one for each site) in which case I dont know where to install wordpress.
Finally, during installation, I do not believe that multisite is an option and that multisite can’t be setup until after installation. If that’s not true, and there is an option to choose multisite during installation, please let me know.
Any help would be greatly appreciated.
- You must be logged in to reply to this topic.