I have followed the guides to backup the database and the files, moved it to the new server, modified env.php but when I go to the site it just comes up with a new site coming soon default page.
What am I missing?
php bin/magento cache:flush php bin/magento cache:clearThank you.
First you need to move your magento instance and database to you new server which I assume you did.
Next is to change the name in env.php (database name) if its not same.
Now open the table core_config_data inside there find path web/secure/base_url and web/unsecure/base_url change the value to you new url.
Now run setup:upgrade and content deploy
Please delete the generated/code directory rm -rf generated/code
and run the following command:
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento indexer:reindex php bin/magento cache:flush
Hope this can help you! Let me know if you need further assistance.
If issue solved, Click Kudos & Accept as Solution.