Your domain leads to your site with us when the site’s records point to the IP address of your hosting plan. First check where the domain’s DNS zone is, then change only what you need.
Step 1: Check where the DNS zone is
You change a domain’s records with the provider whose name servers are set for the domain. You can see them at your domain registrar or with a public lookup, for example nslookup -type=ns yourdomain.com.
- If they are the name servers you received with your hosting, in the activation message or in your plan details, the zone is with us and you change records in cPanel, as described in How to set DNS records for a domain.
- If they belong to another provider (for example Cloudflare or your previous host), the zone is there and you change records in that provider’s panel.
- If you have only a domain, without hosting, there is no cPanel. If the zone is with us in TrueDNS, you change records in the portal, as described in How to set DNS records for a domain.
Our name servers are not the same for every plan, because they depend on the server your plan is on. Always use the ones from your activation message or plan details.
Step 2: Find your hosting IP address
Log in to cPanel, as described in How to log in to cPanel. On the home page, under General Information, you will see Shared IP Address or Dedicated IP Address. This is the address your site should point to. Use an IPv6 address for your site only if one was assigned with your plan; if you are not sure, ask us in a ticket.
Step 3: If only the website moves to us
You do not need to change the name servers. With your current DNS provider, change only the website records:
- Point the A record for the main domain (@) to the IP address from step 2.
- For www, point an A record to the same address or a CNAME record to the main domain.
- Also check the AAAA (IPv6) records for @ and www. If an IPv6 address was assigned with your plan, enter it. If not, delete an AAAA record for @ or www only after you have checked that it points to the site’s old server and that no other service uses it, such as a mail server or a subdomain that stays with another provider. An outdated AAAA record for the site would still send some visitors to the old server.
Leave MX, SPF, DKIM, DMARC and other TXT records as they are, because email and the services already running on the domain depend on them.
Before the change, check which name the MX record points to. If it points to the domain itself, to www, or to a name that is a CNAME for them, changing the A or AAAA records moves your mail to the new server too, so leaving MX unchanged is not enough. In that case, following your email provider’s instructions, first point MX to a separate name whose address stays on your current mail server (for example mail.yourdomain.com with its own A record), and only then change the website records.
Step 4: If the whole DNS zone moves to us
Change the name servers only once the zone with us has every record the domain uses.
- With your current DNS provider, make a list of all existing records: A, AAAA, CNAME, MX, TXT (SPF, DKIM, DMARC and records other services use to verify that the domain is yours) and any others.
- Enter them in the cPanel Zone Editor and compare them with your list. Point the website records to the IP address from step 2, and add an AAAA record for the site only if an IPv6 address was assigned to you.
- Check whether DNSSEC is on for the domain, that is, whether there is a DS record at the registry (for example with
nslookup -type=ds yourdomain.com). If there is, first agree the name server change with your registrar and current DNS provider, because otherwise the domain can become unreachable after the change. - Only then set the name servers from your activation message or plan details: at your domain registrar or, if the domain is with us, in the portal, in domain management, on the “Nameserveri” (Nameservers) page.
- Once the change takes effect, run
nslookup -type=ns yourdomain.comto check that the domain points to exactly those name servers.
If the domain is with us, the “Nameserveri” page in domain management offers two choices: “Koristi podrazumevane nameservere” (Use the default nameservers) and “Koristi drugačija podešavanja nameservera (upisati ispod)” (Use different nameserver settings, entered below), with the button “Promeni nameservere” (Change nameservers). The page warns that the change can take a while to propagate. If the name servers from your activation message have to be entered by hand, choose the different settings and enter them. If you are not sure whether the default ones match your plan, open a ticket. This is not the same as “Upravljanje DNS zonama” (DNS zone management), the record editor you see when TrueDNS is on.
If your email stays with another provider, copy its MX and TXT records exactly as they are. If your email also moves to us, tell us before the change so we can align MX, SPF and DKIM. A DKIM record with a custom name or a subdomain with an unusual name is easy to miss, so check the list by hand.
When the change takes effect
The change is not visible everywhere at once. Until the old record’s TTL expires, some visitors still reach the old address. A name server change can take longer, because it also depends on the registry.
If your site still does not work after that, open a ticket and include the domain.