Two domains using the same MySql database?
Posted on 2011-02-19
We have one website up and running in shared hosting environment and recently we obtained second domain name (for the site with completely different content). Both sites will be hosted by the same hosting company. Now, the second domain is what they call "addon domain" - as far as I understand, it will be set up inside public_html folder of the first site, but will have completely separate files, databases etc.
Is it possible for these two sites to somehow use the same database? The new site needs to use some data from MySql database associated with the existing site.