Learn about how to manage domain names for your application.
example.com
, you can set up a custom domain name for Prelude’s Session API like session.example.com
.
Create a custom domain name
POST /v2/session/apps/{appID}/domains
to the Session Management API. Ensure that the domain name is a subdomain of the domain your frontend application is hosted on.Add the CNAME record to your DNS settings
cname_record
field in the response and add it to your DNS settings for your domain name. This step varies depending on your DNS provider.Verify the custom domain name
POST /v2/session/apps/{appID}/domains/{domainID}/verify
to the Session Management API. Prelude will automatically try to verify the CNAME record, and issue an SSL certificate for your domain name.