Title: Setting up WordPress Multisite
Last modified: January 25, 2025

---

# Setting up WordPress Multisite

 *  [wrknight](https://wordpress.org/support/users/wrknight/)
 * (@wrknight)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/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.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/setting-up-wordpress-multisite/#post-18264692)
 * Take a look in the handbook here: [https://developer.wordpress.org/advanced-administration/server/web-server/nginx/#wordpress-multisite](https://developer.wordpress.org/advanced-administration/server/web-server/nginx/#wordpress-multisite)
 *  Thread Starter [wrknight](https://wordpress.org/support/users/wrknight/)
 * (@wrknight)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/setting-up-wordpress-multisite/#post-18266404)
 * After reading this handbook, I am still confused, partly by terminology and partly
   by site organization.
 * To clarify, my wordpress installation is located at /var/www/wordpress. There
   is no “global” directory or subdirectory on my system and I am assuming that /
   var/www/wordpress is the same as “global”. Please verify this is true or correct
   me if I am wrong.
 * Second, I have files at /etc/ngnix/sites-available that I call server blocks 
   that appear to be the same as what is called “per site configuration” files in
   the handbook. I am assuming they are the same thing. Again, please verify this
   is true or correct me if I am wrong.
 * Third. There is no “restrictions.conf” file in my wordpress installation. Since
   I have been running this as a single site for 6 years without a restrictions.
   conf file, do I really need to add this file to go from single site to multisite?
 * Finally, let me sumarize the major steps I need to take to convert from single
   site to multisite:
 * Modify wp-config.php file. Next, setup the network and add a subdomain. Next,
   map the website’s domain name to the subdomain in wordpress. Next, add a server
   block for the second website.
 * In adding a second server block, I think I can simply copy the original to a 
   new one and edit all the domain names. I also think this will work even with 
   let’s encrypt codes included.
 * If I am wrong on any of this, please correct me.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Setting up WordPress Multisite’ is closed to new replies.

## Tags

 * [configuration](https://wordpress.org/support/topic-tag/configuration/)
 * [lamp](https://wordpress.org/support/topic-tag/lamp/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [WordPress](https://wordpress.org/support/topic-tag/wordpress/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [wrknight](https://wordpress.org/support/users/wrknight/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/setting-up-wordpress-multisite/#post-18266404)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
