Answered: how to move local server to live host?

Post date: 2020-08-08 06:07:46
Views: 215

Q2A consists of two parts: the web application and the database. For a migration I'd recommend the following steps:

  1. Create a backup of your Q2A database.
  2. Create a database (and database user) of the same name on the new (database) host.
  3. Restore the backup to the new database.
  4. Enable maintenance in Q2A on the source host (or configure basic auth in the web server on the destination host) to prevent other users from interacting with the site until you're ready.
  5. Copy the Q2A application directory to the web root on the destination host.
  6. Adjust the database settings in config.php as needed.
  7. Enable the vhost for your Q2A site on the destination (web) server.
  8. Log in as the admin and verify that everything is working.
  9. Disable maintenance or deactivate basic auth.
Please click Here to read the full story.
 
Other Top and Latest Questions:
Trump's push for Greenland mineral rights could block China's access to rare earths
How to change homepage title in Q2A?
In an affordability crunch, Gen Z adults are leaning on their parents for financial help
Shares of CSG, one of the world’s fastest-growing defense firms, jump 31% on debut
Pardoned Binance founder Zhao says his business relationship with the Trumps was 'misconstrued'
Auto executives are hoping for the best and planning for the worst in 2026
Trump accounts get supercharged by employer matches — some companies offer up to $1,000
China didn’t grab many headlines at Davos, but it's the elephant in the room
Shutdown odds grow as Senate Republicans won't remove DHS funding after Pretti killing
Videos of Alex Pretti shooting by federal agents in Minneapolis contradict Trump official claims