Platform: Installation

How do I move the platform to a new domain or host?

A new domain is mostly a change on the Settings screen and your licence. A new host means copying the files, the settings file and the database together, then adding the cron line again.

All help articles

A new domain

  1. In your hosting panel (cPanel or similar), point the new domain at your hosting and give it an SSL certificate.
  2. Under System, Updates, press Remove the key from this site to free its place on your licence.
  3. Under System, Settings, change Site address to the new address, starting with https://. Every link the site makes, in pages and emails, starts with it.
  4. Sign in at the new address, enter your licence key under System, Updates and press Activate this site.
  5. Use a From address on the new domain under System, Email settings, and add SPF, DKIM and DMARC records for it.
  6. If you use the Cloudflare origin lock, add its header rule to the new domain first, or press Only check, refuse nothing before you switch.

The site does not redirect the old domain by itself. Set that up in your hosting panel.

A new host

Do not run the installer: it only appears when site/.env is missing, and it refuses a database that already has tables.

  1. Under System, Backups, press Back up now and download the backup and the backup key.
  2. Copy the site folder, including its hidden .env file, and everything in the web root, including the hidden .htaccess and .user.ini files and the uploads folder.
  3. Copy the database into a new, empty database on the new host, in your hosting panel (cPanel or similar).
  4. Keep the same .env file. It holds the keys that read saved passwords, check the audit log and open your backups. If the database details or the path of your home folder differ on the new host, change the lines starting with DB_ and the PUBLIC_PATH line to match.
  5. Add the cron line again, with the new path to site/bin/console.
  6. Check that every item on System health is green.

If you would rather have help, contact us before you start.