To run WordPress at cms.example.com and serve static files at www.example.com, prepare the new WordPress address before changing public DNS. Keep a current database and filesystem backup and record the existing DNS entries for rollback.
- Add the CMS hostname to the WordPress host. Configure the DNS entry your host specifies and a valid HTTPS certificate for that name. Confirm it reaches the correct WordPress installation.
- Change the WordPress Address and Site Address to match the installation layout. If
WP_HOMEorWP_SITEURLis defined inwp-config.php, review those overrides. The two addresses can differ when WordPress is installed in a subdirectory. - Update stored content URLs with a WordPress-aware search-and-replace tool that handles serialized data. Run a dry run, review the tables and matches, and back up before applying changes. Test login, media, permalinks and editing at the CMS hostname.
- In Simply Static → Settings → General → Replacing URLs, set the static URL to the public hostname. Configure Settings → Deployment, make a full push and verify a sample of pages, assets, forms and redirects at the hosting destination.
- Point the intended public hostname to the static host using that provider’s DNS instructions. Preserve records used for email, verification and other services. Recheck HTTPS and both hostnames after the switch.
Configure public URLs · Protect the WordPress origin.
Keep WordPress on your own host and add incremental publishing, forms and search with Simply Static Pro. Get managed WordPress and CDN hosting for your static site with Simply Static Studio.