admin管理员组

文章数量:1122846

Consider the following servers with their domain names:

Server A:
   Domain A1 (Master Domain)
   Domain A2 (Addon Domain)

Server B:
   Domain B1 (Master Domain)
   Domain B2 (Addon Domain)

First, I setup a wordpress multisite on A1 then I create a new site using a dummy subdirectory url and then edit the site and change the url to A2, then I go to cpanel and change root directory of A2 to point to A1 (where the multisite is). So far everything is okay, but now I want to create a new site for the multisite under B2. Unfortunately, B2 is on a different server, which means I can't simply change it's root directory to point to A1. What can I do? Is it even possible?

Consider the following servers with their domain names:

Server A:
   Domain A1 (Master Domain)
   Domain A2 (Addon Domain)

Server B:
   Domain B1 (Master Domain)
   Domain B2 (Addon Domain)

First, I setup a wordpress multisite on A1 then I create a new site using a dummy subdirectory url and then edit the site and change the url to A2, then I go to cpanel and change root directory of A2 to point to A1 (where the multisite is). So far everything is okay, but now I want to create a new site for the multisite under B2. Unfortunately, B2 is on a different server, which means I can't simply change it's root directory to point to A1. What can I do? Is it even possible?

Share Improve this question asked May 21, 2019 at 18:59 DimChtzDimChtz 1778 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I believe that Multisite assumes that all sites are on the same server. That's because it uses the same WP database for all of the sites. (Although the databases can get quite large if there are many sites, and lots of content. So you need to make sure the hosting server can handle large databases.)

So I don't see a way to do this (but I have been wrong before). If you wanted to spread the load, I guess you could have mirrored sites on both servers, and then use some sort of load balancing front end to send traffic to one or the other server.

If you are worried about the load factor of many sites, then just make sure that you have a hosting plan with lots of server horsepower. A basic 'sharing' hosting plan might get overloaded, depending on traffic and database size.

本文标签: site urlMultisite with different domain names on different servers