Back to blog

Configure DNS for Subdomains: A Complete Guide

Introduction to DNS

Configuring DNS for subdomains is a critical task for managing web traffic and ensuring that your subdomains point to the right services. Whether you're using Cloudflare, Namecheap, GoDaddy, or another DNS management provider, the process involves a few straightforward steps. In this guide, we'll walk you through how to set up DNS for the subdomain webinar.captino.io.

Understanding DNS and Subdomains

DNS, or Domain Name System, translates domain names into IP addresses, allowing browsers to load internet resources. A subdomain is a prefix added to your main domain, creating a separate section of your website. For example, in webinar.captino.io, "webinar" is the subdomain.

Steps to Configure DNS for Subdomains

Logging into Your DNS Management Provider

The first step is to log into your DNS management provider. This could be Cloudflare, Namecheap, GoDaddy, ClouDNS, or any other service you're using.

Selecting the Subdomain

Once logged in, navigate to the section where you can manage your DNS settings. Select the domain that you want to configure, in this case, captino.io.

Adding DNS Records

Next, you'll need to add DNS records. Here are the specifics for webinar.captino.io:

  • Type: CNAME
  • Host: webinar.captino.io
  • Value: in.saascustomdomains.com

For Cloudflare users, ensure you disable proxying for your DNS records by clicking the orange cloud icon to turn it gray, making it "DNS only."

Waiting for DNS Propagation

After adding the records, it may take a few minutes to a few hours for the DNS changes to propagate. This period allows the updated information to spread across the internet.

Detailed Steps for Specific DNS Providers

Cloudflare

  1. Log in to your Cloudflare account.
  2. Select the captino.io domain.
  3. Go to the DNS settings.
  4. Add a new record:
    • Type: CNAME
    • Name: webinar.captino.io
    • Target: in.saascustomdomains.com
  5. Disable the proxy (orange cloud) to make it DNS only.

Namecheap

  1. Log in to your Namecheap account.
  2. Go to "Domain List" and click "Manage" next to the captino.io domain.
  3. Navigate to the "Advanced DNS" tab.
  4. Add a new CNAME record:
    • Host: webinar.captino.io
    • Value: in.saascustomdomains.com
  5. Save changes.

GoDaddy

  1. Log in to your GoDaddy account.
  2. Select "My Products" and find the captino.io domain.
  3. Click "DNS" and scroll down to "Records."
  4. Add a new record:
    • Type: CNAME
    • Name: webinar.captino.io
    • Value: in.saascustomdomains.com
  5. Save the record.

ClouDNS

  1. Log in to your ClouDNS account.
  2. Select "DNS Zones" and choose the captino.io domain.
  3. Add a new CNAME record:
    • Host: webinar.captino.io
    • Points to: in.saascustomdomains.com
  4. Save the changes.

Common Issues and Troubleshooting

DNS Propagation Delays

Sometimes, DNS changes take longer than expected to propagate. You can use tools like What's My DNS to check the status of your DNS propagation.

Incorrect Record Entries

Ensure that you have entered the correct CNAME record. Even a small typo can cause the subdomain to fail.

Proxy Issues on Cloudflare

If you see an orange cloud next to your CNAME record on Cloudflare, it means the record is proxied. Click the cloud to turn it gray, ensuring it is set to "DNS only."

FAQs

What is a CNAME record?

A CNAME (Canonical Name) record is a type of DNS record that maps an alias name to a true or canonical domain name.

How long does DNS propagation take?

DNS propagation can take anywhere from a few minutes to 48 hours, depending on various factors such as your DNS provider and TTL settings.

What does "DNS only" mean on Cloudflare?

"DNS only" means that Cloudflare will only manage the DNS resolution and will not proxy the traffic through their network.

Why is my subdomain not working?

Ensure that the DNS records are correctly entered and that you have allowed sufficient time for propagation. Also, check for any typos in the entries.

Can I use an IP address instead of a CNAME?

For subdomains pointing to web services, a CNAME is typically used. However, for pointing to a specific server, you might use an A record with an IP address.

What is TTL?

TTL stands for Time To Live, and it specifies how long a DNS record is cached by DNS resolvers. Shorter TTL values can speed up the propagation of changes.

Jakob Grumsen

CEO