Moving from root domain to subdomain

My production app is currently deployed on domainname.com and I want to move it to 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?

1 Like

Hi @ericp :waving_hand:

That sounds about right :slight_smile:

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:

    • old URL

    • new URL

    • redirect status (done / pending)

    • platform on which the page is built (Webflow vs WeWeb in your case)

  • 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 :slight_smile: Good luck with this!