Docs Menu

Docs HomeAtlas App Services

Use a Custom Domain Name

On this page

  • Overview
  • Procedure
  • Acquire the Custom Domain Name
  • Specify the Custom Domain in Atlas App Services
  • Add a Validation CNAME Record
  • Add a Redirect CNAME Record
  • Acquire the Custom Domain Name
  • Pull the Latest Version of Your App
  • Specify the Custom Domain
  • Import the Application Directory
  • Deploy the Updated Hosting Configuration
  • Add a Validation CNAME Record
  • Add a Redirect CNAME Record

You can use your own custom domain name for your hosted content. By default, content that you upload is available at a domain with the following form:

<Your App ID>.mongodbstitch.com

You can configure a custom domain name for your application's hosted content from the App Services UI or by importing an application configuration directory that specifies the domain in its config.json configuration file. Select the tab below that corresponds to the method you want to use.

Note

Add App Services's AWS CAAs to Verify Your Domain

If you have trouble verifying your domain:

  • clear any unnecessary CAA's from your site's records

  • add the following CAA records:

    Domain
    Record Type
    Flags
    Tag
    Value
    www.example.com
    CAA
    0
    issue
    "amazon.com"
    www.example.com
    CAA
    0
    issue
    "amazontrust.com"
    www.example.com
    CAA
    0
    issue
    "awstrust.com"
←  Use a Custom 404 Pagerealm-cli [Deprecated] →