简体   繁体   中英

Getting website content from different location

I am developing an online accounting project. I do not want to give my code to the clients, but I have to give control of the domain to them. How can I configure the application such that it uses the Database from my client's domain and the application from my own domain ?

For eg : my application domain in www.a.com and my clients domain are b.com, c.com and so on. a.com holds the application source code and b.com holds the database.

Now what I want to do is get the application code from a.com and get database from b.com whenever b.com is opened.

Or is there any other way to achieve it ?

Look into setting a CNAME record through your domain name's administration settings and using sub-domains, perhaps.

Here's more information from Google http://support.google.com/a/bin/answer.py?hl=en&answer=47283 and Wikipedia http://en.wikipedia.org/wiki/CNAME_record

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM