• Support
  • What is the best way to move a site from there to here?

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.

  • sean replied to this.

    cbiweb the general steps to migrate any site are:

    1. Create a new app in your Opalstack dashboard: https://docs.opalstack.com/user-guide/applications/#adding-an-application
    2. Create a new database and user in your Opalstack dashboard: https://docs.opalstack.com/user-guide/mariadb-databases/
    3. Add your domain: https://docs.opalstack.com/user-guide/domains/#adding-domains
    4. Add a site to serve the app on your domain: https://docs.opalstack.com/user-guide/sites/#adding-sites
    5. Export your database at your old host.
    6. Copy your DB export and your site files from your old host to your app directory here at Opalstack.
    7. 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).
    8. Make adjustments to the migrated app config as necessary, for example you might need to adjust filesystem paths, port numbers, and DB connection info.
    9. When you're ready, point the domain at Opalstack: https://docs.opalstack.com/user-guide/domains/#pointing-your-domain-at-opalstack
    Mastodon