Ask a schema-related thing
Now a portal network has been online for several days: www.aaa.com, has a number of two-level domain names
Because now want to copy the station in another area, the page is the same as the database structure, but the domain name is not the same: www.bbb.com
My idea is, copy a site and database, each tube, but in fact, two stations a large part of the data, are exactly the same, so a bit tangled, do not know how to do not affect the efficiency of two stations.
PS: The original system is a single entry, OOP
Please give your big brother some advise
------Solution--------------------
Are you going to load balance? If not, both domains are directed to that IP.
To do load balancing, get 3 libraries, 1 Master 2 from, note that two stations must be unified to write the main library, respectively, read one of their own from the library.