How to manage your DNS records in cPanel Print

  • dns, domain
  • 0

Managing your DNS records in cPanel


DNS (Domain Name System) is a crucial aspect of web hosting, as it helps to direct traffic to your website. As a customer of Infinity Domain Hosting, you have access to cPanel, a popular web hosting control panel that enables you to manage various aspects of your hosting account, including your DNS records. In this article, we will explore how to manage your DNS records in cPanel and the different types of DNS records that you may encounter.

Firstly, let's define what DNS records are. DNS records are essentially a set of instructions that tell the internet how to direct traffic to your website. Every time a user types in your domain name (e.g., www.example.com), the DNS server looks up the corresponding IP address (e.g., 198.51.100.1) associated with that domain name and directs the user's web browser to that IP address. DNS records are stored on DNS servers, which are distributed throughout the internet.

When you sign up for hosting with Infinity Domain Hosting, we provide you with a DNS server that is managed by our team. However, you may need to make changes to your DNS records from time to time, such as when you want to point your domain to a new server or set up a subdomain. Fortunately, cPanel makes it easy to manage your DNS records. Here's how:

Login to your cPanel account:

To access your DNS records, you need to log in to your cPanel account. You can do this by navigating to https://yourdomain.com/cpanel (replace "yourdomain.com" with your actual domain name) and entering your login credentials.

Navigate to the DNS Zone Editor:

Once you're logged in to cPanel, scroll down to the "Domains" section and click on "Zone Editor". This will take you to the DNS Zone Editor, where you can manage your DNS records.

View your DNS records:

The DNS Zone Editor displays all of your DNS records for your domain. You can view your current records by scrolling down the page. The most common DNS record types are:

A Record:

This is the most basic type of DNS record and maps your domain name to an IP address. You need an A record to make your website accessible on the internet.
CNAME Record: A CNAME record is used to create an alias for your domain name. For example, you might create a CNAME record for "blog.example.com" that points to "www.example.com".

MX Record:

An MX record tells the internet where to deliver email for your domain. You'll need at least one MX record to receive email.
TXT Record: A TXT record is used to add additional information to your DNS record, such as SPF (Sender Policy Framework) or DKIM (DomainKeys Identified Mail) records.
Add a new DNS record: To add a new DNS record, click on the "Add Record" button in the DNS Zone Editor. This will open a form where you can enter the details of your new record. The form will ask you for the following information:

Record Type:

Choose the type of DNS record you want to add from the dropdown menu.
 

Name:

This is the name of your subdomain or hostname. For example, if you want to create a subdomain called "blog.example.com", you would enter "blog" in this field.

TTL (Time to Live):

This determines how long the record should be cached by other DNS servers. The default value is usually fine.
Data:
This is the IP address or hostname that your DNS record should point to.
 

Edit an existing DNS record:

To edit an existing DNS record, simply click on the "Edit" button next to the record you want to change. This will open the form where you can make changes to the record. You can edit any of the fields in the form, such as the record type, name, TTL, or data.

Delete a DNS record:

To delete a DNS record, click on the "Delete" button next to the record you want to remove. You'll be asked to confirm the deletion, so make sure you're deleting the right record.
Now that you know how to manage your DNS records in cPanel, let's take a look at some common scenarios where you might need to make changes to your DNS records.

Pointing your domain to a new server

If you're moving your website to a new server, you'll need to update your DNS records to point to the new server's IP address. To do this, you'll need to add a new A record in the DNS Zone Editor that points to the new IP address. You can also update any CNAME records that point to your domain, such as "www.example.com".

Setting up a subdomain

If you want to create a subdomain, such as "blog.example.com", you'll need to add a new DNS record in the DNS Zone Editor. First, add an A record that points to the IP address of your web server. Then, add a CNAME record that points to the domain name of your website, such as "www.example.com". This will create an alias for your domain that points to your new subdomain.

Configuring email

To receive email for your domain, you'll need to set up MX records in the DNS Zone Editor. MX records tell other email servers where to deliver email for your domain. You'll need to add at least one MX record that points to your email server's hostname or IP address. You can also add additional MX records for redundancy.

Adding SPF and DKIM records

If you want to improve email deliverability and prevent spam, you'll need to add SPF and DKIM records to your DNS records. SPF and DKIM are authentication mechanisms that verify that email sent from your domain is legitimate. To add these records, create new TXT records in the DNS Zone Editor and enter the appropriate values.
 

Conclusion


In conclusion, managing your DNS records is an important part of web hosting, and cPanel makes it easy to do so. By understanding the different types of DNS records and how to add, edit, and delete them, you can ensure that your website and email services are properly configured. If you have any questions or need assistance with managing your DNS records, don't hesitate to contact Infinity Domain Hosting's support team. We're here to help you succeed!

Was this answer helpful?

« Back

Powered by WHMCompleteSolution