# Moving from root domain to subdomain

**URL:** <https://community.weweb.io/t/moving-from-root-domain-to-subdomain/20920>\
**Category:** How do I?\
**Tags:** domain\
**Created:** [March 18, 2026, 12:42pm UTC](https://community.weweb.io/t/moving-from-root-domain-to-subdomain/20920 "2026-03-18T12:42:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericp](https://avatars.discourse-cdn.com/v4/letter/e/ea666f/32.png) [@ericp](https://community.weweb.io/u/ericp)\
**Post date:** [March 18, 2026, 12:42pm UTC](https://community.weweb.io/t/moving-from-root-domain-to-subdomain/20920/1 "2026-03-18T12:42:14Z")

</div>

My production app is currently deployed on [domainname.com](http://domainname.com) and I want to move it to [app.domainname.com](http://app.domainname.com). I will then build a Webflow (or similar) site with better SEO handling for the homepage and marketing landing pages.

Are these the steps I need to take:

1. Edit app navigation links to homepage with url instead of WeWeb page binding (including redirects for processes like Stripe)
2. Update project domain setting in WeWeb
3. Update Cloudflare CNAME
4. Create Cloudflare redirect for /login to subdomain login url

Is anything I’m missing?

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [March 18, 2026, 5:58pm UTC](https://community.weweb.io/t/moving-from-root-domain-to-subdomain/20920/2 "2026-03-18T17:58:57Z")

</div>

Hi @ericp 👋

That sounds about right 🙂

If your app is already live with active users, I’d strongly recommend planning a short maintenance window and communicating it in advance. When you update the Cloudflare CNAMEs (root + `www` → Webflow, and `app` → WeWeb), DNS propagation can take some time, and you may have a brief period where things don’t resolve consistently.

A couple of additional things that can help make the migration smoother:

- **Map all routes ahead of time** : I like to export my sitemap and track redirects in a spreadsheet with these columns:

- **Double-check auth & external flows** : especially anything involving redirects (Stripe, OAuth, magic links, etc.) to make sure all callback URLs are updated to the new subdomain.

- **Review cookies / sessions** : if you rely on cookies, make sure they’re configured correctly for the `app.` subdomain (domain scope can sometimes cause unexpected logouts).

- **SEO considerations** : once live, ensure 301 redirects are properly set from old URLs to new ones, and submit the updated sitemap in Google Search Console.

I hope that helps 🙂 Good luck with this!
