Resmi.ID DomainAn official name for your business

Pointing a domain to hosting: nameservers or an A record?

DNSUpdated 31 October 2026 · 2 min read

Two ways to connect a domain to a website, when to use each, and how to keep email from breaking.

After buying a domain and hosting, you need to connect them so the domain name opens your website. There are two ways, and the right choice depends on who you want to manage your DNS.

Two ways to connect a domain

1. Change the nameservers. All DNS settings move to your hosting provider. Handy when the host also runs your email, but every record must then be managed from the hosting panel.

2. Add an A record. DNS stays at Resmi.ID; you only point the website address to the hosting server's IP. Suits you when email runs on another service such as Google Workspace.

If in doubt, use an A record. Other records such as MX for email stay untouched, so the risk is smallest.

Adding an A record at Resmi.ID

  1. Sign in to the client area, open My Domains, then choose your domain.
  2. Click Manage DNS, then add a new record.
  3. Fill in the two records below using the IP from your hosting provider.
TypeNameValue
A@Your hosting server's IP
CNAMEwwwyour domain, e.g. namausaha.com

If you choose to change nameservers

Copy the nameservers from your hosting panel (usually two addresses, e.g. ns1.provider.com and ns2.provider.com), then replace them on your domain's Nameserver page in the client area.

Mind your email. Once nameservers change, the records at Resmi.ID — including MX for email — are no longer used. Note your email records first and recreate them in the hosting panel so email keeps working.

How long until it works?

Record changes usually show within minutes to a few hours, depending on the TTL value. Nameserver changes can take longer, up to 24–48 hours, because caches across networks need to refresh. See the TTL and DNS propagation guide.

Related guides

DNSWhat TTL is and why DNS changes don't show immediately Domains.com, .id, .co.id, and .my.id — which one fits? DomainsDocuments required for a .co.id domain
All guides