# Multiple domains

**URL:** <https://community.weweb.io/t/multiple-domains/5079>\
**Category:** Ask us anything\
**Created:** [October 26, 2023, 5:40pm UTC](https://community.weweb.io/t/multiple-domains/5079 "2023-10-26T17:40:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonny](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Jonny](https://community.weweb.io/u/Jonny)\
**Post date:** [October 26, 2023, 5:40pm UTC](https://community.weweb.io/t/multiple-domains/5079/1 "2023-10-26T17:40:17Z")

</div>

Hi guys - Question… I have an (app.) sub-domain for my app that I use from the Login screen onwards (Example: User logs into app, and the rest of the UX happens from there).

I’d also like to add my root/main domain with (with the typical www.) and be able to use that to build my front end customer facing website as well. How can I add multiple domains to 1 project to accomplish this?

Thanks!

Jon

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 26, 2023, 5:48pm UTC](https://community.weweb.io/t/multiple-domains/5079/2 "2023-10-26T17:48:01Z")

</div>

Is your landing page (the www) build in WeWeb too or some other platform?

---

<div class="post-metadata">

**Author:** ![Jonny](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Jonny](https://community.weweb.io/u/Jonny)\
**Post date:** [October 26, 2023, 5:50pm UTC](https://community.weweb.io/t/multiple-domains/5079/3 "2023-10-26T17:50:12Z")

</div>

@Dorian Im trying to move it all to Weweb. Right now I have my front end webpage for SEO and marketing etc setup in Webflow, but Id like to streamline the whole experience under a paid weweb project. Just dont know if if it can transition from the www. to app. within the same project…

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 26, 2023, 5:51pm UTC](https://community.weweb.io/t/multiple-domains/5079/4 "2023-10-26T17:51:57Z")

</div>

I have my landing page (www) in Framer and WeWeb on app subdomain. My understanding is that WeWeb isnt the best at SEO and so thats why the landing page is in Framer. If you’re moving the landing page to WeWeb then you can just change all of WeWeb to be on www and discard the app subdomain - right?

---

<div class="post-metadata">

**Author:** ![Jonny](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Jonny](https://community.weweb.io/u/Jonny)\
**Post date:** [October 26, 2023, 5:56pm UTC](https://community.weweb.io/t/multiple-domains/5079/5 "2023-10-26T17:56:15Z")

</div>

Yeah I guess i technically to do that… just wonder what the seo implication of doing that are ( having the app and the seo site on the same subdomain)… I am also not 100% sure why, but I was told by a friend to split the subdomain to app. from the SEO page in general, which I assume is why when I log in to other software like intuit etc whatnot it changes to the app. domain… Do you know why major software companies do that lol? is it just SEO?

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 26, 2023, 6:09pm UTC](https://community.weweb.io/t/multiple-domains/5079/6 "2023-10-26T18:09:05Z")

</div>

I dont know sorry. I know very little about SEO in general.

---

<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:** [October 27, 2023, 9:41am UTC](https://community.weweb.io/t/multiple-domains/5079/7 "2023-10-27T09:41:49Z")

</div>

Hello 👋

It’s pretty common practice to host different projects on different subdomains. I think most domain registrars will allow you to add as many subdomains as you want.

For example, Google has their main product (the search engine) on the naked domain and `www` subdomain but they have other products on other subdomains like `analytics`, `drive`, `calendar`, etc.

In our case, we have:

- our marketing website on the naked domain and `www` subdomain
- our Discourse forum on the `community` subdomain
- our Academy app on the `academy` subdomain
- our public roadmap app on the `feedback` subdomain, etc.

> [@Jonny](#):
>
> How can I add multiple domains to 1 project to accomplish this?

You can’t attach one subdomain to certain pages and another subdomain to others. So if you wanted to build both projects in WeWeb, you would need two WeWeb projects: one with the pages of your website, and one for your app.

Does that make sense?

---

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [March 22, 2024, 4:42pm UTC](https://community.weweb.io/t/multiple-domains/5079/8 "2024-03-22T16:42:26Z")

</div>

@Joyce

I have a sort of similar question

I am building a internal management tool, with a read only client portal.

I want to bind multiple subdomains to my app like for example

[client.myapp.com](http://client.myapp.com)  
[supplier.myapp.com](http://supplier.myapp.com)

Based on the URL path, I want to show a title on the login page like Clientportal and Supplier Portal.

Auth wise (using Xano) I have one User table. An user has either the role Client or Supplier.

After successful authentication using the Xano plugin. I want to check the role of the user and if it is a client I want to redirect to client home page and if it is a supplier I want to redirect to the supplier home page.

Is this possible?

---

<div class="post-metadata">

**Author:** ![matt-thrive](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@matt-thrive](https://community.weweb.io/u/matt-thrive)\
**Post date:** [March 17, 2025, 9:09pm UTC](https://community.weweb.io/t/multiple-domains/5079/9 "2025-03-17T21:09:55Z")

</div>

Did you ever accomplish this yourself? It’s not all too complicated and you can use one project, technically.
