You change DNS records where the domain’s DNS zone is, and the name servers decide where that is: with us in cPanel, in TrueDNS if it is already active for the domain, or with another DNS provider. Before you change anything, check where the zone is.
Step 1: Check where the zone is
Look up which name servers are set for the domain, at your domain registrar or with a public lookup, for example nslookup -type=ns yourdomain.com. You change records in one place only, the one the active name servers actually point to. The active name servers decide, not what you bought.
- A domain only, without hosting: there is no cPanel. If the zone is in our TrueDNS, that is, if the domain’s name servers point to TrueDNS, you change records in the portal, as described in the section “If the zone is in TrueDNS: records in the portal” below. Having the add-on “TrueDNS Menadžment” (TrueDNS management) switched on does not by itself mean that this is the active zone. If you do not know where your domain’s zone is, open a ticket.
- A hosting plan: if they are the name servers from your hosting activation message or plan details, the zone is with us in cPanel and you change records in the Zone Editor, using the steps below. Our name servers depend on the server your plan is on, so do not copy them from someone else’s instructions. In cPanel, on the page with the domain’s records, the line “Configured nameservers for this zone” appears under the heading. If the name servers that cPanel shows differ from the ones you checked, the zone in cPanel is not authoritative and changes made in it will not take effect. Our name servers can lead either to the zone in cPanel or to TrueDNS, so check this against the active zone and the instructions for your plan. If the name servers point to TrueDNS, you change records in the portal, not in cPanel.
- Cloudflare or another authoritative DNS: if the name servers belong to another provider, you change records in that provider’s panel, and the steps below apply to cPanel only. Do not change the name servers just to add a record, for example a TXT record. If you do move to our name servers, first copy all MX, TXT and other records into the new zone, as described in How to connect a domain to hosting, because changing name servers does not carry records over.
Step 2: Open the Zone Editor in cPanel
Log in to cPanel, as described in How to log in to cPanel. On the page with your tools (“Alati” in the Serbian interface), open “Zone Editor”, choose the domains list (“Domeni”) and click the edit option (“Uredi”) next to the domain whose records you are changing. A page with all of that domain’s DNS records opens (“DNS zapisi”). The screenshot in this guide shows the Serbian interface of cPanel.
Step 3: Click the add-record button
You add a new record with the add-record button (“Dodaj Rekord” in the Serbian interface), at the right above the list of records. Do not change or delete existing records until you know what they are for.
A form for the new record opens. Take the record type and value exactly from the instructions of the service you are adding it for, and check the name and value before you save.
Step 4: Choose the record type
- A: links a name to an IPv4 address. For a site with us, enter the IP address of the server your plan is on. If you do not know it, open a ticket.
- AAAA: the same as A, but for an IPv6 address. Add one for your site only if an IPv6 address was assigned with your plan. Do not delete an existing AAAA record in advance: first find out what it is for, that is, which IPv6 address it points to and whether your site or another service uses it. If you cannot find out, open a ticket.
- CNAME: points one name to another, for example www to the main domain.
- MX: sets the server that receives mail for the domain. Do not change existing MX records without instructions from your email provider.
- TXT: contains SPF, DKIM and DMARC for email, and records other services use to verify that the domain is yours. Add a new TXT record exactly as the service asks. Do not change existing SPF, DKIM and DMARC records without instructions from your email provider, and do not add a second SPF record next to an existing one, because a domain may have only one SPF record.
Step 5: Take care with email records
If your email is not with us, do not change its MX and TXT records without instructions from your email provider. Before you change an A or AAAA record, also check which name MX points to: if it points to a name you are changing, the server that receives your mail changes too. For email with us, check SPF and DKIM on the page called “Email dostavljivost” in the Serbian interface, in the Email group on the page with your tools.
If the zone is in TrueDNS: records in the portal
TrueDNS management is an add-on for a domain. You find it in the portal: “Domeni” (Domains) → “Moji domeni” (My domains) → domain management → “Dodaci” (Add-ons). On a .com domain, the “Dodaci” page has the cards “TrueDNS Menadžment” (TrueDNS management) and “WHOIS Zaštita (Sakrij identitet)” (WHOIS protection), each with a “Kupovina” (Purchase) button. The button is the entry to activating the add-on. Before you confirm, check on the card what is offered for your extension and the terms. The same add-on is also described in the guide in the portal.
When the add-on is on, the left menu of the domain also has “Upravljanje DNS zonama” (DNS zone management). It opens an editor with the fields “Naziv domena” (Domain name), “Tip DNS zapisa” (DNS record type) and “Adresa” (Address), and you enter “Prioritet” (Priority) only for an MX record. You save a change with the button “Sačuvaj izmene” (Save changes), and “Poništi izmene” (Cancel changes) leaves without saving. Take the record type and value exactly from the instructions of the service, and the rules from steps 4 and 5 apply here too.
Three items in the domain menu are not the same, so do not mix them up. “Nameserveri” (Nameservers) chooses which name servers are active, and so decides where the zone is. “Prilagođeni DNS serveri” (Custom DNS servers) is a separate menu item, different from the other two. “Upravljanje DNS zonama” (DNS zone management) is the record editor in TrueDNS and appears when the add-on is on. Changes in it take effect only if the domain’s active name servers point to TrueDNS. If the domain has external name servers, a change made through TrueDNS does not affect the public answers, even when the add-on is on. Our name servers do not always lead to TrueDNS either: they can also lead to the zone in cPanel, so check against the active zone and the instructions for your plan. If you change the name servers, records are not carried over by themselves, so copy the MX and TXT records before the change.
When the change takes effect
A change to a record is not visible everywhere at once. When you change an existing record, some visitors and servers keep using the old value until its TTL expires. When you add a new record for a name that had no record before, there is no old TTL, but an earlier answer saying the record does not exist can stay in the cache for a while, so the new record may not be visible right away.
If you are not sure which record to change, open a ticket and include the domain and what you want to set up. To point your domain to a site with us, see How to connect a domain to hosting.