Managing DNS Settings in cPanel

This guide explains how to view and manage DNS records in cPanel using the Zone Editor. You will learn how to add, edit, and remove DNS records such as A, CNAME, MX, TXT, and more. These settings control how your domain connects to your website, email services, and external platforms.

  1. Accessing the Zone Editor
  1. Log in to your cPanel dashboard.
  2. Scroll to the Domains section.
  3. Select Zone Editor.

You will see a list of all domains associated with your hosting account, along with options to manage their DNS records.

  1. Understanding DNS Record Types

Here are the most common DNS records you will encounter:

A Record

Points your domain or subdomain to an IPv4 address.
Example: example.com -> 192.0.2.1

AAAA Record

Points to an IPv6 address.

CNAME Record

Aliases one domain to another.
Example: www.example.com -> example.com

MX Record

Controls where your email is delivered.
Example: pointing email to Google Workspace or Microsoft 365.

TXT Record

Used for verification and security, such as SPF, DKIM, and domain ownership checks.

SRV Record

Used for services like VoIP, chat servers, or Microsoft 365.

NS Record

Specifies the nameservers responsible for your domain.

  1. Viewing DNS Records
  1. In the Zone Editor, find the domain you want to manage.
  2. Click Manage.
  3. You will see a full list of DNS records for that domain.

Each record includes the name, type, value, and TTL (Time To Live).

  1. Adding a New DNS Record

To add a record:

  1. Click Add Record.
  2. Choose the record type (A, CNAME, MX, TXT, etc.).
  3. Enter the required details:
    • Name: The domain or subdomain
    • TTL: How long the record is cached (default is fine for most cases)
    • Value: The IP address, hostname, or text value
  4. Click Save Record.

The new record will appear in the list immediately, but DNS propagation may take time.

  1. Editing an Existing DNS Record
  1. Find the record you want to change.
  2. Click Edit next to it.
  3. Update the value or TTL.
  4. Click Save Record.

Common reasons to edit records include changing hosting providers, updating email routing, or verifying services.

  1. Deleting a DNS Record
  1. Locate the record you want to remove.
  2. Click Delete.
  3. Confirm the deletion.

Be careful when deleting DNS records. Removing the wrong one can break your website or email.

  1. Common DNS Tasks

Pointing Your Domain to a New Server (A Record)

  • Edit the A record for your domain and set it to your new server's IP address.

Setting Up Email Hosting (MX Records)

  • Remove old MX records.
  • Add the new MX records provided by your email provider.
  • Add any required TXT or SPF records.

Connecting Third-Party Services

Platforms like Google, Microsoft, Shopify, and Cloudflare often require TXT or CNAME records for verification.

Creating a Subdomain

  • Add an A or CNAME record for the subdomain.
  • Example: blog.example.com -> 192.0.2.1
  1. DNS Propagation

After making DNS changes, it can take time for the updates to spread across the internet.

  • Most changes apply within a few minutes.
  • Full propagation can take up to 24 hours.
  • During this time, some users may see the old version of your site.
  1. Troubleshooting Common DNS Issues

Website Not Loading

  • Check that the A record points to the correct IP.
  • Ensure there are no conflicting records.

Email Not Working

  • Verify MX records are correct.
  • Ensure SPF, DKIM, and DMARC records are properly configured.

DNS Changes Not Taking Effect

  • Wait for propagation.
  • Clear your DNS cache or try a different network.

Subdomain Not Resolving

  • Ensure the subdomain has an A or CNAME record.
  • Check that the document root exists if hosting content.
Je li Vam ovaj odgovor pomogao?

Vezani članci

How to Create and Manage Email Accounts in cPanel

This guide explains how to create, manage, and access email accounts for your domain using...

Using phpMyAdmin to Manage MySQL Databases

This guide explains how to use phpMyAdmin in cPanel to view, edit, and manage your MySQL...

Managing Domains and Subdomains in cPanel

This guide explains how to manage your domains and subdomains in cPanel, including adding new...

Understanding and Using cPanel File Manager

This guide explains how to use the cPanel File Manager to upload, edit, organise, and manage...

Setting Up and Managing FTP Accounts

This guide explains how to create, configure, and manage FTP accounts in cPanel. You will learn...

Powered by WHMCompleteSolution