I am making a platform where people can build their own websites. But we’re looking for a solution from which we can add domain alias from the front end to cleavr. While on documentation, I saw the “Add a ‘Deploy with Cleavr’” Button; it looks interesting, is there any way we can use it the same way for domain alias? Thank you!
Are you looking to provide them with their own sub-domain? If so, you can enable ‘Allow wildcard subdomains’ when creating a site. https://docs.cleavr.io/new-sites#wildcard-subdomains. Cleavr will also handle applying SSL to the subdomains dynamically if you connect DO or Cloudflare for DNS record management.
Then on your app you can handle users creating subdomains as well as handle routing.
Subdomains are okay, I think I have figured them out, but what I am looking for is custom domains. For example, a user inputs “icreatedthiswebsite.com” as their domain, so what I want is to somehow add the above-mentioned domain to cleavr’s domain alias.