Replace your editor-built pages with your own externally hosted frontend, and keep managing your business from the same dashboard. Your data and business logic stay exactly the same, now running as your project's backend.
Most of the work happens safely before launch. Only the domain switch changes your live site, and it happens in a single coordinated step. To learn more, see About Wix Site Migration to a Self-Managed Headless Project.
When you're done:
www.example.com.checkout.example.com.Make sure you have:
checkout.example.com.Confirm that you're working with your production site, not a proof-of-concept or test site in the same account.
Do everything in this step while your editor-built site keeps serving your main domain. Nothing here affects your live website.
https://preview.example.com/login/callback.TTL value on your main domain's record, such as www.example.com, then lower it to 300 seconds. TTL controls how long other computers on the internet cache your record before rechecking it, so a lower value means the switch in Step 4 reaches visitors in minutes instead of gradually over a day.At the end of this step, your live website stays unchanged, and your frontend works correctly using your preview address.
Note: This test can confirm Wix-hosted pages work, but not what your visitors eventually see. Wix-hosted pages still load from your current domain instead of your future subdomain, since that switch doesn't happen until Step 4. Wix returns visitors to your preview address when the flow finishes.
Deploy your frontend to your external host, and confirm it loads correctly at the temporary address your host assigns, before you connect your own domain. Don't change any DNS or domain settings until you've verified the deployment.
www and the apex domain if you use both. For example, www.example.com and example.com.https://www.example.com/login/callback.https://www.example.com.Caution: This step changes your live site's domain. Don't start it until your production frontend is deployed and verified. Complete the whole step from start to finish without stopping, because your public website and Wix-hosted pages are briefly in transition until every change propagates.
Your main domain moves to your external host, and your Wix subdomain becomes your project's new primary domain, the address your project actually serves pages from. Wix-hosted pages like checkout and login load there instead of your old domain.
Follow the steps in order. If you point your main domain at your external host before you change the primary domain on Wix, Wix won't redirect your main domain to your subdomain during the switch.
CNAME or A record at your external host:
www CNAME record or your apex A record to your external host. For example, www.example.com or example.com, respectively.MX, SPF, DKIM, and DMARC records unchanged, so your email keeps working.checkout.example.com, and set it as the project's primary domain. Complete any DNS steps Wix provides for the subdomain.www.example.com and example.com, respectively.www, or http instead of https, to your single canonical address, the official version search engines should use. For example, redirect http://www.example.com to https://www.example.com, and example.com to www.example.com.Note: Your external host needs a valid HTTPS certificate for your main domain, and Wix needs to issue one for your subdomain after you connect it. Hosts usually issue the certificate once your domain points at them, and Wix issues yours automatically. Until each certificate is ready, visitors can see a security warning.
DNS can take up to 48 hours to propagate, though the lowered TTL from Step 1 speeds this up. Until it does, different visitors can briefly see different things at www.example.com, depending on how quickly their own DNS cache picks up the change, so don't be alarmed if some visitors still reach your old setup for a while.
At the end of this step, your main domain, such as www.example.com, serves your frontend, and your Wix subdomain, such as checkout.example.com, is your project's primary domain and serves your project.
Point the Wix pages domain setting at your subdomain, so that visitors stay on your subdomain, rather than a default Wix address, during Wix-hosted flows, such as checkout and login.
checkout.example.com. For details, see Set a Domain for Wix-Hosted Pages.On your production frontend, test each flow:
http or another variation of your domain, such as the apex instead of www: Redirects to your canonical address. For example, from http://www.example.com to https://www.example.com.Now that you've launched, confirm everything is working correctly and remove any settings you no longer need.
TTL value to what you noted in Step 1, before you lowered it.If your frontend uses several regional domains, such as .com, .eu, and .cz, a single headless client and Wix subdomain can serve all of them:
CNAME or A record at your external host.window.location.origin on each redirect, so visitors return to the region they came from.Last updated: 20 August 2026