Answered: how to move local server to live host?

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

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:
Iran’s regime in its ‘final days and weeks' after mass protests, Germany’s Merz says
South Korea's ex-president Yoon given 5-year jail term in first ruling over martial law
AI startup Replit launches feature to vibe code mobile apps
Australia banned social media for under 16s a month ago — here's how it's going
TSMC is set to expand its $165 billion U.S. investment — here’s what we know
Trump accepts Nobel medal from Venezuelan opposition leader Machado
Japan's Mitsubishi to acquire shale gas assets in U.S. for $7.5 billion
Trump's proposed ban on buying single-family homes introduces uncertainty for family offices
Venezuela oil fetching 30% higher price, U.S. energy chief says, after first sale worth $500 million
Amazon threatens 'drastic' action after Saks bankruptcy, says $475M stake is now worthless