askvity

How do I create a DNS record in Namecheap?

Published in Domain Management 3 mins read

Creating a DNS record in Namecheap is a straightforward process. Here's a step-by-step guide to help you:

  1. Sign in to your Namecheap account: Go to the Namecheap website and log in using your username and password.

  2. Navigate to the Domain List: Once logged in, find the "Domain List" option usually located on the left-hand side menu or within your account dashboard.

  3. Manage your Domain: Click the "Manage" button next to the domain name for which you want to create the DNS record.

  4. Access Advanced DNS Settings: Look for and click on the "Advanced DNS" tab. This tab allows you to modify the DNS records associated with your domain.

  5. Add a New Record: In the "Host Records" section, you'll find an "Add New Record" button. Click this button to begin creating your new DNS record.

    • A new row will appear, prompting you to enter the necessary details for the record.
  6. Configure the DNS Record: Fill in the required information for the DNS record you are creating. This typically includes:

    • Type: Select the type of DNS record (e.g., A, CNAME, MX, TXT, SRV).

      • A Record: Maps a domain name to an IPv4 address.
      • AAAA Record: Maps a domain name to an IPv6 address.
      • CNAME Record: Creates an alias of one domain name to another.
      • MX Record: Specifies the mail server responsible for accepting email messages on behalf of a domain.
      • TXT Record: Holds text-based information for various purposes, such as domain verification.
      • SRV Record: Specifies a service, protocol, and port for specific services.
    • Host: Enter the hostname (e.g., @ for the root domain, or a subdomain like 'www').

    • Value: Input the value associated with the record type (e.g., an IP address for an A record, or a domain name for a CNAME record).

    • TTL: TTL (Time To Live) defines how long the record is cached by DNS servers. The default setting is usually adequate.

  7. Save Changes: After entering all the necessary details, click the green checkmark icon or the "Save Changes" button (the specific wording may vary) to save the new DNS record.

Example: Creating an A Record

Let's say you want to point your domain example.com to the IP address 192.0.2.1. Here's how you'd configure the A record:

  • Type: A
  • Host: @ (This indicates the root domain)
  • Value: 192.0.2.1
  • TTL: Automatic (or your preferred value)

Example: Creating a CNAME Record

To create a subdomain www.example.com that points to example.com, you'd create a CNAME record:

  • Type: CNAME
  • Host: www
  • Value: example.com
  • TTL: Automatic (or your preferred value)

Remember that DNS propagation can take some time (up to 48 hours, but usually much faster).

Related Articles