How To

Create subdomains for tenants within my application

Coherence supports dynamic subdomains inside your application. For example, to give each client of your site their own instance of your app.

In the deployed environment, Coherence will:

  • automatically create a DNS record for *.yourenvironment.yourapp.yourtenant.coherencesites.com
  • provision an SSL certificate for each environment as it is deployed to match. (On GCP only, this will be a self-signed certificate and we will (email us) send you the .crt file to add to your devices so the certificate is trusted.)

Custom domains

For custom domains, you're responsible for:

  • creating the *.yourhostname.com record on your name server/DNS provider
  • (on Google Cloud Platform only) uploading a self-managed SSL certificate for the custom domain, and giving us the name of the certificate.

You can send us this via email at support@withcoherence.com, please reference your app name when sending.

On Workspaces, *.WORKSPACE-web.coherencedev.com will have a broken SSL certificate but it will route as expected to the dev services in your application.

Previous
Create an AWS account