Subdomain Delegation

Learn to delegate the subdomain to host Code Ocean VPC.

As mentioned in the Prerequisites, if you choose an internet-facing deployment type and not configure an existing Route53 hosted zone to add the Code Ocean DNS records to, you will need to configure the parent domain (for example, XYZ.com) to delegate the Code Ocean subdomain (codeocean by default) to Route53 by adding an NS record to the parent domain.

Once the CloudFormation deployment has completed, please follow these steps to delegate the subdomain:

  1. Navigate to Route53 Hosted zones, and find your newly created public hosted zone from the deployment (e.g. codeocean.XYZ.com) then select View Details.

  2. Under Records search for the NS (Name Server) record, and copy the content of "Value/Route traffic to" column. Here's an example of such NS record:

    Name = codeocean.XYZ.com
    Type = NS
    Value =
    ns-1923.awsdns-48.co.uk.
    ns-366.awsdns-45.com.
    ns-1437.awsdns-51.org.
    ns-673.awsdns-20.net.
  3. Add an NS record in your hosting domain (e.g. XYZ.com) with the copied value to delegate the subdomain to Route53.

Last updated