Our dev team is testing a custom hostnames feature for our SAAS project.
We have a site builder and our clients need to use their custom domains and https.
Could you please confirm that our understanding is correct and help us with several questions below.
We made some changes:
On our domain provider we changed NS servers to use the Cloudflare servers
In the Cloudflare we added:
CNAME to our origin server
CNAME fallback.ourdomain.com to our origin server
For the client domain page.customer1.site on our domain provider we added:
CNAME page.customer1.site to customer1.ourdomain.com
Looks like it works as expected but there are several questions:
- Is it a correct approach or we missed anything important?
- Is it possible to use apex domain for our clients like just customer1.site instead of page.customer1.site?
- Do we need to use custom DNS to simplify the process? Clients just should change their NS servers to our custom NS?