To connect a domain to hosting, either change its name servers (NS) to the host's, for example ns1.bob.am and ns2.bob.am, or keep DNS at your registrar and add an A record with the hosting IP address. The change usually works within a few hours, at most 24-48 hours.

Two ways to point a domain to hosting

A domain is only an address. DNS tells the internet which server holds your site, and you can change it in two ways:

  • Change the name servers (NS). At the registrar you replace the old NS with the host's. All DNS records are then managed in cPanel.
  • A record. The name servers stay. You set the A record to the hosting IP and add a CNAME for www. Other records, including email, stay as they are.

Comparison: which method to choose

Name servers (NS)A record
What movesThe whole DNS zone moves to the hostOnly the website address (IP) changes
Where records are editedIn cPanel, Zone EditorIn the registrar's or DNS provider's panel
EmailMX now points to the host, external mail records must be re-createdMX and other records stay unchanged
Update timeUp to 24-48 hours, the registry data changesUsually minutes to a few hours, depends on TTL
Best forA new site, email on the same hosting, everything in one panelEmail or other services already run elsewhere

If in doubt, choose NS: cPanel creates all records itself. Choose the A record when email must not stop even for a minute.

What to prepare first

  • Where the domain is registered. See the Whois page: it shows the registrar and current name servers.
  • The host's name servers or IP address. At Bob.am: ns1.bob.am and ns2.bob.am; the IP is in the activation email and in cPanel (Shared IP Address).
  • Access to the registrar's panel. You need it to change anything.
  • The current records. Save a copy of the old zone, especially MX and TXT.

Method 1: change the name servers (NS)

The most common method: once NS point to the host, cPanel serves all records for the domain.

If the domain is registered at Bob.am

  1. Log in to your Bob.am client area.
  2. Open the Domains section and choose the domain.
  3. Open "Manage Nameservers".
  4. Choose our servers or type ns1.bob.am and ns2.bob.am manually.
  5. Save and wait for the update.

If you ordered the domain and hosting together, the name servers are usually set already.

If the domain is at another registrar

At most registrars: open Nameservers in the domain settings, choose "Custom" and enter our two servers.

If a .am domain is at another Armenian registrar

Change .am and .հայ name servers in that registrar's panel or through its support. The .am rules require 2 to 6 name servers, so enter both of ours. You can also transfer a .am domain to us for free: see .am domains.

Method 2: A record and www CNAME

DNS stays where it is now; only two records change.

  1. Open DNS Management (DNS Zone) at your registrar.
  2. Set the main A record (name @ or empty) to the hosting IP address.
  3. Edit the www record or create a CNAME pointing to your domain.
  4. Delete old AAAA (IPv6) records of the previous host.
  5. Save and check after a while.
TypeNameValue
A@The hosting IP address, for example 203.0.113.10
CNAMEwwwYour domain, for example example.am

Leave MX, SPF and TXT records alone so email keeps working. For DNS in cPanel, see this article.

A second website on the same hosting

For a second site on existing hosting, also add the domain in cPanel as an Addon Domain: cPanel creates a folder and DNS zone for it. See the Addon Domain guide; the number of sites depends on the plan.

How long DNS propagation takes

An NS change goes to the registry first, then spreads to DNS servers worldwide. Usually the site opens within an hour or two, with some providers up to 24-48 hours. Meanwhile some visitors see the old site: this is normal.

An A record updates within its TTL (seconds the old value is cached): 3600 means about an hour. Tip: lower TTL to 300 a day before the move.

How to check that the domain is connected

  • Whois shows the name servers in the registry.
  • In a terminal run dig NS example.am +short and dig A example.am +short (on Windows nslookup example.am).
  • dnschecker.org shows the result from many countries.
  • Open the site in a private window or over mobile data to avoid old cache.

What happens to email

MX records decide where email goes. The A record method leaves them alone. With an NS change cPanel points MX to its own server, so:

The SSL certificate after connecting

Every Bob.am hosting plan gets a free Let's Encrypt certificate automatically, once the domain and www point to our server, usually within a few hours. To speed it up, click Run AutoSSL in cPanel, SSL/TLS Status. An HTTPS warning before that is temporary.

Common mistakes

  • Only one name server is set: you need two, and for a .am domain it is mandatory.
  • The server name has a trailing dot or space, for example ns1.bob.am., and the panel rejects it.
  • NS were changed but no mailboxes or external MX records were created, so messages are lost.
  • The A record was changed but www still points to the old host, or an old AAAA record remains.
  • The domain points to the hosting but is not added in cPanel as an Addon Domain, so a wrong or empty page opens.
  • The domain has expired or is on hold at the registry: check its status on the Whois page.

How it works at Bob.am

Bob.am is an Armenian company offering domains and cPanel hosting. With both at Bob.am, the domain usually connects automatically.

  • Name servers ns1.bob.am and ns2.bob.am, free DNS management, unlimited subdomains.
  • Shared hosting from 800 ֏ per month: cPanel, LiteSpeed, NVMe, free Let's Encrypt SSL for every site, mailboxes on your domain.
  • Domains: .am 10 000 ֏ per year (the first year is currently 8 000 ֏), .հայ 2 400 ֏, .com 7 400 ֏; current prices in the price list.
  • Transferring a .am domain to us is free, and when you buy hosting or a VPS we move your site from the old host for free.
  • Support 24/7 in Armenian, Russian and English, including help with your registrar's NS settings.

FAQ

How do I connect a domain bought from another company to my hosting

No transfer needed: change the name servers at your registrar to ours or add an A record. Renewal stays with that registrar.

What is NS and how is it different from an A record

NS names the servers that hold the domain's whole DNS. An A record links the name to one server's IP. NS moves everything, an A record only the site.

How long until the site opens on the new hosting

An A record: usually within an hour. NS: a few hours, at most 24-48. Keep the old hosting meanwhile.

Will I lose my email

Not with an A record, as MX stays. With NS, create mailboxes or external MX records in cPanel first.

Can the website be in one place and email in another

Yes. The A record decides the site, MX the email; they can point to different servers.

Why does the browser say the site is not secure

SSL is issued only after the domain points to the hosting. Wait or run AutoSSL; after a day, check www too.

What if the domain is not registered yet

Register it together with hosting and the name servers are set automatically. See .am or .com, registering a .am domain and what is hosting.

With the domain and hosting in one place you do not have to think about connecting them. Choose a plan on the shared hosting page or register a domain on the domains page.
Was this answer helpful? 0 Users Found This Useful (0 Votes)