One wordpress site on two server instances sharing the same database.
-
Greetings all!
I had a look at the WP support topic, Installing Multiple WordPress Instances and it deals with two WP sites connected to one database by using different prefixes.
This does not quite fit what I am attempting to do with WP but it puts me in the right direction.
The following is an example of what I would consider my perfect WP setup:
1. Four server instances
2. Server 1 WP site, MY-WPsite.com (same site as server 2)
3. Server 2 WP site, MY-WPsite.com (same site as server 1)
4. Server 3 One shared Database for MY-WPsite.com on servers 1 & 2
5. Server 4 WP site, staging.MY-WPsite.com (Although this could perhaps be a subdomain on server 1…???)
6. Load Balancer for servers 1 & 2 directing traffic from servers 1 & 2What I do know how to do:
Setup and secure an Nginx server from a-z. Install and harden WP on that server. Point the DNS to that server. After this, the above becomes a blur…
Like, how do you install the same WP site on two different server instances and connect the site to a database which resides on a third server instance?
- The topic ‘One wordpress site on two server instances sharing the same database.’ is closed to new replies.