Answered: how to move local server to live host?

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

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:
AstraZeneca is listing in New York, as Big Pharma balances the huge U.S. market with China's tempting innovation
Answered: I have a project for you... (Developer)
Elon Musk has lauded the 'social media for AI agents' platform Moltbook as a bold step for AI. Others are skeptical
Strategy slides after bitcoin briefly dips below crypto firm's key breakeven level
The risk-reward on this payments stock looks attractive. How to trade it using a risk reversal options trade
Pinterest CEO rebukes, fires 'obstructionist' employees who created tool to track layoffs
Fed's Stephen Miran resigns from White House post
Washington Post begins widespread layoffs, sharply shrinking storied newspaper's reach
Eli Lilly blows past quarterly estimates, posts strong outlook as Zepbound and Mounjaro sales soar
Amazon makes Alexa+ AI assistant available to everyone in the U.S. nearly a year after launch