Jump to content

Display remote mysql data on different websites


thara

Recommended Posts

I have created 5 websites under 5 different domains. Contents of this websites' are similar and using a same template for each one. Now I need to create an admin panel to control these websites. PHP and MySql I will use for this backend.

 

My problem is how can I manage these five website with one backend? Reason is I will use different domain for my backend. My all 5 client will use this same backend system to manage their own website.

 

So can I know from the professionals here, is it possible to display mysql data on these 5 website. If it is possible then how?

Any links to article or tutorials would be welcome and appreciated.

 

NOTE: I checked

mysql federated storage engine

but no idea? Is it the way where do I need to go?

 

Thank you.

Link to comment
Share on other sites

Your mysql server needs to accept requests from outside in that case, which can be very insecure. You should absolutely configure your mysql server to use and only accept connections over a SSL connection. To make a certificate and configure the mysql server is work for an expert if i may say so.

 

An api works in most cases from PHP application to another PHP application but for sensitive data like userdata for example it is also highly recommanded to use SSL connections, 

Link to comment
Share on other sites

I would imagine you can use an iFrame to load pages from another site. This is (in some) ways similar to QuickOldCar's suggestion of an api though.

 

However, as mentioned, security should be a serious consideration - especially if any of that data is sensitive. SSL would certainly aid that.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.