Domains & DNSTutorials

Domain Names and DNS Explained: A Practical Beginner’s Guide

2 Mins read
Global domain name and DNS network connecting to website hosting

A domain name is the memorable address people type, while DNS is the distributed system that directs that name to the correct website, email service and other resources. Understanding a few records makes migrations and troubleshooting much easier.

Domain, hosting and DNS are different

The domain is the registered name. Hosting stores and serves the website. DNS connects the name to services by publishing records. They can be purchased from one provider or managed separately.

How a DNS lookup works

When someone requests your domain, a resolver looks for an answer in its cache. If necessary, it follows the DNS hierarchy to the authoritative nameservers, retrieves the requested record and temporarily caches it.

Important DNS record types

A and AAAA records

An A record points a hostname to an IPv4 address. An AAAA record points it to an IPv6 address.

CNAME records

A CNAME makes one hostname an alias of another. It is commonly used for subdomains, but it cannot coexist with other records at the same name.

MX records

MX records identify the mail servers that receive email for a domain. Priority values determine the preferred order.

TXT records

TXT records publish verification and policy information, including SPF, DKIM and DMARC data used in email authentication.

NS records

NS records specify the authoritative nameservers responsible for a DNS zone.

What TTL means

Time to live tells resolvers how long they may cache a record. Lowering TTL before a planned migration can shorten the period in which older answers remain cached. Raise it again after the change is stable.

Why DNS changes appear gradual

There is no single global propagation switch. Different resolvers refresh cached answers at different times. Existing records can remain visible until their TTL expires.

A safe website migration sequence

  1. Copy and test the website on the new hosting environment.
  2. Lower relevant TTL values ahead of the move.
  3. Update the required A, AAAA or CNAME records.
  4. Keep the old service available while caches expire.
  5. Verify HTTPS, forms, email and redirects before retiring the old account.

Protect the domain

Use registrar lock, multi-factor authentication, accurate renewal contacts and automatic renewal where appropriate. DNSSEC can protect against forged DNS responses when supported by both the registrar and DNS provider.

Get the records right

Before changing DNS, export or record the current zone and understand which services depend on it. HostViber support can help identify the records required for your hosting service.

Ready to secure your domain?

Search for an available name, register it with HostViber and pair it with hosting close to your audience.

Search HostViber Domains  |  View Web Hosting Plans

Related HostViber guides

Related posts
Tutorials

Complete cPanel Website Migration Checklist: Move Your Site Safely

4 Mins read
Use this practical cPanel migration checklist to protect website files, databases, email, DNS and SSL while moving to a new hosting server.
SecurityTutorials

What Is an SSL Certificate and Why Does Your Website Need One?

2 Mins read
Learn how SSL certificates protect website traffic, enable HTTPS, build visitor trust and prevent browser security warnings.
TutorialsWordPress Hosting

How to Migrate a WordPress Website Without Downtime

2 Mins read
Follow a practical WordPress migration plan covering backups, staging, DNS, email, HTTPS, testing and rollback steps to minimise downtime.