cs-icon.svg

Custom Domain

By default, Launch generates a unique URL of the form example.contentstackapps.com for every environment. Each environment is assigned to a unique subdomain at example.com.

For users to easily access your site and remember your site address, you need a human-friendly domain name. You can add a custom domain name to your environment.

Note: Custom domains cannot be more than 63 characters long. For example, example.com, example.org, subdomain.example.in

Add a Custom Domain

  1. Click the project card to open your project from the Launch landing page.
  2. Launch_Project_List_Page1

  3. In the Environments screen, click an existing environment or create a new environment. We will add a custom domain to the Default environment for this tutorial.
  4. In the Default environment, click the ellipses under Actions and then click Settings to go to the Settings page.
  5. Launch_Venus2_Env_Settings.png

  6. In Environments under Settings, click Domains
    Launch_CustomDomains_Venus2_Tab_GitHUb.png
  7. Click the + New Domain button.
  8. Enter your custom domain host URL. For example - example.com
  9. Click the copy icon to copy the A Record to your clipboard.
    A Records point to an IP address, usually the one for your hosting account.
    Launch_CustomDomains_Venus2_HostURL_A_Record.png
  10. Click the Create Custom Domain button.
  11. Paste the copied A record to your domain provider platform.

    Below are some documentation links to common DNS providers for adding the A record.

    1. Go-Daddy
    2. Bluehost
    3. Namecheap
      Depending on your domain provider, these changes can take up to 48 hours to take effect.
  12. Click the Edit or Delete button to edit or delete the custom domains.
    Launch_CustomDomains_Venus2_Edit_Delete.png

Add a Custom Subdomain 

Launch allows you to add custom subdomains to your environments. 

Follow the steps below to add a custom subdomain to your existing domain. In this example, we are creating a subdomain for the domain example.com which was created in the previous steps.

  1. Click the + New Domain button.
    Launch_CustomDomains_Venus2_Add_Subdomain.png
  2. In the Domain Name field, enter the subdomain name in the following format: <name>.<apex domain>
    For example: domain.example.com
    After entering the subdomain name, the DNS Details section gets auto-populated as shown below:
    Launch_CustomDomains_Venus2_Subdomain-modal.pngThe Value field displays the default subdomain.

    Note: The DNS details are different for the apex domain and the custom subdomain.

  3. Click the copy icon next to the Name and Value fields to copy the CNAME record details.
    Launch_CustomDomains_Venus2_Subdomain-modal-copy.png
  4. Paste the copied CNAME record details to your domain provider platform.
    Below are some documentation links to common DNS providers for adding the CNAME record:
    1. Go-Daddy
    2. Bluehost
    3. Namecheap

      Depending on your domain provider, these changes can take up to 48 hours to take effect.

  5. Click the Create Custom Domain button.
    You can see the newly created subdomain listed in the Domains page.
    Launch_CustomDomains_Venus2_Subdomain.png
Was this article helpful?
^