A subdomain is a domain that is part of a larger domain. It is a way to organize and structure a website by separating different sections or areas of the site into different subdomains.

For example, a company might have a main website at "example.com", but they might also have a separate subdomain for their blog, located at "blog.example.com". In this case, "blog" is the subdomain and "example.com" is the root domain.

💡 Tip: Looking to setup a root/apex domain instead (example.com)?

What is covered in this support article:

Setting up a Custom Domain

Once you have a custom domain purchased, follow the steps below to set it up on Campsite.

  1. Go to the urls page of your profile

    URLs and domains page

  2. Click the 'Setup' button next to the custom domain section.

    Urls section
  3. Enter your custom domain name and then click 'Start Setup'.

    Custom domain dialog

  4. After you've started the custom domain process, we'll generate some DNS records called CNAMEs. In the next section, you'll enter those into your DNS settings.

Adding DNS Records

  1. Log into your domain registrar.

  2. Locate your Domain Name System (DNS) settings and enter the two CNAMEs generated in Campsite.

    Custom domain setup showing CNAME records

    The first CNAME record might not need '.aws.' at the end but rather '.aws' to work.

  3. Add the two CNAME records listed on your profiles Urls page. Below is an example of what it could look like on your registrar.

    Example DNS record entry
  4. It could take anywhere from 10-60 minutes for us to detect and validate the CNAMEs once you've added them. We'll complete the setup on our end and send you an email letting you know your custom domain is ready.

Once you've added DNS records it can take up to one hour for your custom domain to become available.

Helpful Support Articles for CNAME Entry

Troubleshooting

My CNAMEs aren't being validated

If it's been a few hours and your CNAMEs aren't validated, please reach out to use so we can double check them.

My validation CNAME record is not saving

Your DNS provider might prohibit leading underscores in CNAME values (points to), in this case, you can just exclude the leading underscore. (e.g. random-value.acm-validations.aws.).
NOTE: The CNAME name parameter MUST ALWAYS begin with a leading underscore.

Some DNS providers add by default a trailing period to the CNAME value that you provide. As a result, adding the period yourself causes an error. For example, "random-value.acm-validations.aws." is rejected while "random-value.acm-validations.aws" is accepted. In this case you can just exclude the trailing period.

Common issues with domain registrars

Cloudflare

Cloudflare will proxy the DNS entries that are added by default. When that happens, we won't be able to tell you've added our CNAMEs. Make sure to set the "Proxy status" to off.

Still have questions? Contact us.

Did this answer your question?