Setting up multiple sites on WordPress
-
I have setup multisite on WordPress running on a LEMP stack in order to host two sites on a single WordPress install. Each site has a different domain name. Site 1 was created 6 years ago and is running well. I am now trying to setup site2. So far, I have done the following:
Setup WordPress at /var/www/wordpress
Modified wp-config.php to allow multisite and multisubdomains.
Built and tested a server block for site 2.This was tested with a landing page located at /var/www/html which after testing was modified in the server block to point to /var/www/wordpress
Set up a separate site which in the network dashboard as a subdomain of the original site (site2.site1.com). Later, this was changed in the settings to https://www.site2.com. Both sites are now listed under My Sites but when I click on site2 it takes me to site1. If I build a new page for site2 it goes to site1.
I can’t find a way to install the second site files (backed up from an earlier site) or get WP to load anything but site1 material.
I hope someone knows how to fix this problem.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.