Single domain, multi-VPS How to configure

Source: Internet
Author: User
Tags mysql create vps
Single domain, multi-VPS How to configure?
I have a domain name and now want to place website files on different VPS according to different languages
zh.mydomain.com Mapping to Vps1
en.mydomain.com Mapping to VPS2
Jp.mydomain.com and kr.mydomain.com map to VPS3

The whole domain share a user database, put VPS2 on, how to operate?
What aspects do you need to set up? (Dns,httpd.conf,.htacess,ip,mysql connection ... )
Is there a tutorial or blog post for reference?
Thank you.

share to: more


------Solution--------------------
Since there is a domain name, the domain name provider will provide DNS resolution. You can log in to your own configuration under.
1. Configure your DNS's a record to correspond to the IP address of the VPS similar to this:
A record IP
ZH Vps1_ip
En vps2_ip
JP Vps3_ip
KR vps3_ip

2. mysql Create a unified telnet account
Direct access to the appropriate domain name is available.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.