I need to move a site to Opalstack that is registered and hosted with another company. It will be hosted on my account. I can do all the migration, but my question is what are the steps that will give me the smoothest and most time-saving transition?
The domain registration doesn't need to be moved just yet, I'm more concerned about getting the hosting changed.
What is the best way to move a site from there to here?
cbiweb the general steps to migrate any site are:
- Create a new app in your Opalstack dashboard: https://docs.opalstack.com/user-guide/applications/#adding-an-application
- Create a new database and user in your Opalstack dashboard: https://docs.opalstack.com/user-guide/mariadb-databases/
- Add your domain: https://docs.opalstack.com/user-guide/domains/#adding-domains
- Add a site to serve the app on your domain: https://docs.opalstack.com/user-guide/sites/#adding-sites
- Export your database at your old host.
- Copy your DB export and your site files from your old host to your app directory here at Opalstack.
- Import your DB to your app's database: https://docs.opalstack.com/user-guide/mariadb-databases/#importing-mariadb-databases (we use MariaDB for MySQL here).
- Make adjustments to the migrated app config as necessary, for example you might need to adjust filesystem paths, port numbers, and DB connection info.
- When you're ready, point the domain at Opalstack: https://docs.opalstack.com/user-guide/domains/#pointing-your-domain-at-opalstack
Thank you!