Hello everyone,
I have a scenario where I need to access the same Frappe backend from two different domains (e.g., abc.com
and cdf.com
). Both domains should route to the same site, and I plan to handle this through Nginx by configuring both domains to point to the same server.
I have a few questions regarding this setup:
-
Is Frappe completely domain-agnostic by default?
- I understand that Frappe relies on
site_config.json
for site-specific settings. However, does Frappe itself introduce any domain-specific logic that might cause issues if multiple domains point to the same backend?
- I understand that Frappe relies on
-
Does having a
host_name
insite_config.json
restrict multi-domain access?- If the
host_name
is set toabc.com
insite_config.json
, willcdf.com
be able to function properly? Is there a best practice here for handling multiple domains?
- If the
-
Will this setup impact site-specific URLs or routing?
- For example, would accessing
/desk
or API endpoints work seamlessly across both domains, or could this setup cause routing issues in Frappe?
- For example, would accessing
-
Has anyone faced challenges or issues when working with multiple domains on the same Frappe site?
- Are there any pitfalls or gotchas to be aware of, particularly around SSL, site isolation, or other domain-related concerns?
Any insights, suggestions, or experiences would be greatly appreciated!
Thank you in advance!