Move to a New Server
In this document we will explain how you can move your current Quick Code instance to a new server without losing any user generate content or media files.
- Compress the root directory in your current hosting.
- Download the compressed file.
- Upload the file to the web directory on the new hosting.
- Export the database from the old server.
- Import the database in the new server.
- Update the
.envfile and replace all occurences of the old domain with the new domain, keep the.envfile open. - Replace the old database credentials with the new ones, search for lines starting with DB_ . Then you can save and close the
.envfile. - Update the database, open domains table and update the default domain record.
- Delete the following file:
bootstrap/cache/config.php - Manually redo the cronjob setup on the new server.