How to Point a Domain to Hosting: Name Servers and A Record

For your website and email to work on our hosting, the domain has to point to the server where your account is hosted. There are two ways to do this: switch the domain's name servers (NS) to ours (recommended), or keep DNS where it is now and add our server's address there.

Option 1. Switch the name servers to ours (recommended)

Name servers tell the internet which DNS server is responsible for the domain. With our name servers, all domain records — the website, www, email, subdomains — are created automatically when you add the domain in the hosting control panel. There is nothing to enter by hand, and the free SSL certificate is issued without extra steps.

Where to find our name servers. They are listed in the hosting account details email you receive after the hosting is set up, in the DNS line. Different servers use different name servers, so use exactly the ones from your email. If you no longer have the email, contact support from your client area and we will send you the name servers for your account.

There are usually two name servers: ns1.… and ns2.…. Enter both, in the same order as in the email.

The domain is registered with another registrar. Log in to the registrar's control panel and open the domain settings. The section is usually called "DNS servers", "Name servers", "Nameservers" or "Delegation". Replace the current name servers with ours and save the changes.

The domain is registered with us.

  1. Log in to your client area and open the list of domains.
  2. Click change next to the domain's name servers.
  3. Enter the name servers in the NS1 and NS2 fields (leave NS3 and NS4 empty if there is no third or fourth server), fill in the reason for the change — for example, "moving to hosting" — and submit the form.
  4. You will see a message that your request has been accepted, and an email with the request details will be sent to you.

Option 2. Keep DNS at your registrar or in Cloudflare

Use this option if the domain's DNS is already set up at your registrar or in Cloudflare and you do not want to move it. In that case, add the records there by hand:

Record typeNameValue
A@ (the domain itself)our server's IP address
A or CNAMEwwwthe same IP address or your-domain.com
MX@the mail server — only needed if the domain's email will be hosted with us

Where to find the IP address and MX. First add the domain in the hosting control panel. The panel creates a DNS zone for it: the website's IP address is in the A record for the domain itself, and the mail server is in the MX record. Copy these values to the DNS at your registrar or in Cloudflare. How to open the records in your panel: ISPmanager, cPanel, Plesk, FastPanel, CloudPanel.

With option 2, the records with us and at your registrar are not synchronized. If you later move to another server, you will have to update the IP address in the records by hand, or the website will stop opening.

Website behind Cloudflare: the A record in Cloudflare must point to our server's IP address. For ISPmanager, see connecting a website to Cloudflare.

How long to wait

DNS changes do not take effect immediately: servers on the internet remember the old data for a while. The website usually starts opening from the new hosting within 1–24 hours, sometimes up to 48–72 hours. During this time, some visitors already see the website on the new hosting while others still see the old one. This is normal.

While DNS is updating, do not delete the website and email on your old hosting, so you do not lose messages or visitors.

How to check where the domain points

Open Command Prompt on Windows or Terminal on macOS and Linux, and run:

nslookup -type=ns your-domain.com 8.8.8.8
nslookup your-domain.com 8.8.8.8

The first command shows the domain's name servers — ours should be there. The second shows the IP address the domain points to. If you still see the old result, DNS is still updating: wait a little longer. In cPanel you can also check this in the panel itself: checking DNS in cPanel.

If the website already opens from the new hosting for you but not for your colleagues (or the other way round), clear the DNS cache on the computer: on Windows, run ipconfig /flushdns, then restart the browser.

Why it does not work after buying or transferring a domain

  • The domain has not been added in the hosting panel. Pointing the domain to the server is not enough — it also has to be added in the panel: ISPmanager, cPanel, Plesk, BrainyCP, VestaCP.
  • The name servers have not changed, or DNS is still updating. Check with the commands above. If more than 72 hours have passed and the name servers are still the old ones, check the settings at your registrar: the change may not have been saved.
  • The domain was transferred to a new registrar, but the name servers still belong to the old hosting. A domain transfer does not change the name servers. When the old hosting ends, the website and email will stop working. Switch the name servers to ours.
  • The domain registration has expired. An expired domain does not work even if the name servers are correct. Renew the domain at your registrar.
  • Email does not work although the website opens. If DNS stayed at your registrar or in Cloudflare, make sure it has an MX record pointing to our mail server. If the domain's email is hosted elsewhere — Google Workspace, Microsoft 365 — the MX records must point to that service: domain email on an external service.
  • The free SSL certificate is not issued. Let's Encrypt issues a certificate only after the domain points to our server. Wait for DNS to update, then issue the certificate again: ISPmanager, cPanel, Plesk.

VPS servers use different name servers — see DNS for VPS and DNS records for a VDS.

Questions and answers
In the hosting account details email you received after the hosting was set up — the DNS line. If you do not have the email, contact support from your client area.
No. Use exactly the name servers from the email for your account: different servers have different name servers.
Usually 1 to 24 hours, sometimes up to 48–72 hours. While DNS is updating, do not delete the website and email on your old hosting.
No. Just add the domain in the hosting panel — the records for the website, www and email are created automatically.