Application Domains
Domains in Satorix
When you add a domain to your project in the Satorix Dashboard a route to your application for that domain is added to your Satorix Hosting Cluster router. You can assign any domain to an application but it won’t do anything until you point the DNS for that domain to your Satorix cluster.
Domain routing
If you add a domain to your project environment in the Satorix Dashboard it will be added to the Satorix Hosting Cluster router for the corresponding environment.
By default Satorix creates an internal route that is always available to access your application. This can be found
at projectid.environment.host.cloudid.satorix.cloud.
-
projectidis the name of the project that you created,environmentis the deployment target- Satorix creates a
stagingand aproductionenvironment that deploys to their respective clusters when merges happen to thestagingandproductionbranches
- Satorix creates a
-
cloudidis the client name that you used to sign up for Satorix
DNS configuration
Once you have a domain route added and deployed to the cluster you need to point the DNS for that domain to the cluster. This is done by adding the following entries to your DNS provider.
- A
CNAMEfor any sub-domain you may be adding that points toenvironment.host.cloudid.satorix.cloud-
environmentis the deployment target- Satorix creates a
stagingand aproductionenvironment that deploys to their respective clusters when merges happen to thestagingandproductionbranches
- Satorix creates a
-
cloudidis the client name that you used to sign up for Satorix
-
- If adding an entry for the base domain (
example.com), you need to be able to add anALIASrecord to your DNS service, this should point to the sameenvironment.host.cloudid.satorix.cloud
Default domains
In order to use the Satorix Dashboard Default Domains in your application you need to create some configuration to utilize the Satorix generated environment variables. Refer to the documentation of the language you are using.