Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6879045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:47:54+00:00 2026-05-27T04:47:54+00:00

A client of mine owns 2 dedicated servers – both running php 4.3. One

  • 0

A client of mine owns 2 dedicated servers – both running php 4.3.
One server (the main) has lots of applications with online payments. He has install SSL key in one subdomain to run the payment procedures.
So we have http://www.example-one.com and https://secure.example-one.com, both sharing the same databases.

Now, on his other server (www.example-two.com), he wants to upgrade to latest php/mysql.
He wants to install another ssl there (https://secure.example-two.com), and he wants to transfer all applications from first secure domain, to the new one.

Is there a way to share the databases in the second server? So php scripts can still work and store/retrieve data in the database in first server (www.example-one.com)?

EDIT: the two servers (example-one and example-two are running in different IPs)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:47:54+00:00Added an answer on May 27, 2026 at 4:47 am

    Yes.

    It all depends on your physical infrastructure, but if the servers running example-one and example-two can “see” each other across the network – ideally, a non-public network running inside your hosting facility, or a well-secured VPN across the internet – you can connect the PHP apps running on http://www.example-two.com and secure.example-two.com to the MySQL database on example-one.com by setting the connection string to point at whatever its hostname or IP address is.

    You should NOT run this connection over the public internet or any benefit of using SSL on the web application is wiped out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A client of mine has a site in wordpress, with one section being a
A client of mine has a site running on CodeIgniter (i did not create
A client of mine has a big php website, and wants to add shopping
A client of mine has a major application written and running in excel 2003
A client of mine has a software and has many instances of it (one
A client of mine in Florida has a site hosted on a server in
A client of mine has asked me to integrate a 3rd party API into
A new client of mine has a small VB/Access database application written in 2002
A client of mine has an application written in Classic ASP and COM+. The
A client of mine recently formatted his machine and re-installed MySQL Server and my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.