View a markdown version of this page

Configure a custom domain - Innovation Sandbox on AWS

Configure a custom domain

By default, the solution is served from the CloudFront distribution URL (for example, dXXXXXXXXXXXXX.cloudfront.net). To serve it from your own domain (for example, isb.example.com), use one of the following approaches.

Option 1: Attach the domain to the CloudFront distribution

Use this option when you want the ISB CloudFront distribution to terminate TLS for your domain.

  1. Create or import a public certificate in AWS Certificate Manager (ACM) in the us-east-1 Region that covers your domain. A wildcard certificate (for example, *.example.com) is supported.

  2. Deploy (or update) the Compute stack with:

    • Custom Domain Name: your fully-qualified domain (for example, isb.example.com)

    • Custom Domain Certificate ARN: the ARN of the ACM certificate

  3. After the stack deploys, create a DNS CNAME or alias record that points your domain to the CloudFront distribution domain name (available in the Compute stack outputs).

Option 2: Front the solution with your own edge or proxy

Use this option when you terminate TLS on your own infrastructure (for example, a corporate reverse proxy or a separate CloudFront distribution).

  1. Deploy (or update) the Compute stack with:

    • Custom Domain Name: your public domain (for example, isb.example.com)

    • Custom Domain Certificate ARN: leave empty

  2. Configure your edge or proxy to forward requests to the ISB CloudFront distribution domain name.

Setting the Custom Domain Name parameter (in either option) ensures that the solution generates correct callback URLs, CORS headers, and SAML redirect URIs for your domain.