opened image

How to change and add DNS records in cPanel

Introduction.

DNS (Domain Name System) plays an important role in the functioning of the Internet, translating domain names into IP addresses, which allows devices to find each other on the network. In cPanel, the popular hosting control panel, you can easily change and add DNS records for your domain names. This allows you to set up mail, direct traffic, and perform other tasks. In this article, we'll show you how to do it.

Login to cPanel

1. Open your web browser and enter the address of your cPanel shared hosting service.

2. Enter your credentials (username and password) to login to cPanel.

Changing DNS records

1. After logging into cPanel, find the "Domain" or "Domains" section. It is usually located at the top of the control panel.

2. In the "Domain" section, find and click on the "Zone Editor" or "Zone Editor" link. This is a tool that allows you to manage DNS records.

 

3. Select the domain name for which you want to change the DNS records.

 

4. In the "Zone Editor" you will see the current DNS records for the selected domain. To edit an entry, find it and click the "Edit" or "Edit" button.


5. In the window that opens, make the necessary changes to the fields, such as "Name", "TTL", "Type", "Address" and others, depending on the type of record. For example, to add a subdomain or set up a mail server (MX record).

6. After making changes, click "Save" or "Save" to apply the new settings.


Adding DNS records

1. To add a new DNS record, return to the "Zone Editor" section and select the desired domain name.

2. Click on the "Add Record" or "Add Record" button.

3. Select the record type from the drop-down list, for example "A" for an IP address or "MX" for a mail server setting.

4. Fill in the appropriate fields depending on the selected record type.

5. Click "Save" or "Save" to add a new entry.

 


Confirmation and setup

It may take some time (usually from an hour to several hours) for the changes to take effect for the DNS records to propagate to all servers. When setting up DNS records, it is important to be careful and precise in order to avoid mistakes that could affect the availability of your website and mail.

Results.

With cPanel you have access to a handy tool to change and add DNS records for your domain names. This allows you to effectively manage your websites, email and other aspects of your services.