Sep 01, 2026
Migrating Statamic Between Domains and Servers on Shared Hosting Without Breaking Cache or Stache
Statamic stores content as flat files and reads configuration from an .env file, which changes how a migration or domain swap should be handled. This guide walks through moving a Statamic site, rewriting the environment, and clearing the Stache so the new domain serves correctly.