• amila

    (@flatworld21)


    Hi, I have a problem.
    My sites architecture:
    domain:
    mydomain.com
    sub sites:
    en.mydomain.com mapping to myen.com
    jp.mydomain.com mapping to myjp.com
    cn.mydomain.com mapping to mycn.com

    web servers:
    ensrv server in US
    jpsrv server in Japan
    cnsrv server in China
    ※Source(wordpress) in all of the web server are the same.

    database:
    server in US
    ※Is it good for all the web server access to one db server? I am afraid that it is very slow for web server in Japan or China.

    restriction for acecss by registration (login status).
    when a user registered by myen.com(en.mydomain.com) he can only access to myen.com. If he accesses to other sites(myjp.com, mycn.com) he will get an error or redirect to myen.com
    ※I will record the sub site where he first registered in the database.

    restriction for access by ip.
    switch(ip)
    case :
    ip in Japan, he can only access to myjp.com
    ip in China, he can only access to mycn.com
    ip else, he can only access to myen.com

    how to do all or parts of these functions?
    At first, which parts are possible or impossible ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite,multi server, different countries’ is closed to new replies.