Am I supposed to change site name for DNS Multitenant?

I am following the instructions here:

https://frappe.io/docs/user/en/bench/guides/setup-multitenancy.html

When I get to the end of the instructions, I am clearly able to add additional sites, but am I supposed to also change the original “site1.local” site name to a domain name?

If so, how would I go about that?

For the DNS Multitenant, when the instructions references “hostname” does that mean the sitename in the /sites directory?

Are those names supposed to be something like “erp.mydomain.com” or “myexample.com” or is there some other naming convention? The instructions do not talk about that part of the operation.

Thanks,

BKM

@bkm

Ideally and preferably. Yes and you can do so with

bench setup add-domain --site site1.local your.domainname.com

Yes as well, otherwise it will cost you a fair bit in domain names. Therefore, the naming convention would be to use sub-domains like

siteone.domain.com
sitetwo.domain.com

Hope this helps

1 Like

Yes it will. Thank you! I could not find how to rename the original site anywhere in my searches.

:star_struck:

BKM