Key takeaways
- A domain is your address; hosting stores the website.
- DNS connects your domain to web and email services.
- Keep ownership and renewal access secure; preserve email records during DNS changes.
What is a domain name?
A domain name is the human-readable address people type to reach a website. It is registered for a defined period through a registrar. Hosting is a separate service that stores the files and runs the application. You can register a domain and host it with different providers.
A domain extension such as .com or .pk is part of the domain name. Registration eligibility, pricing and transfer rules vary by extension. Check the terms before buying.
Explore: Domain registration · Domain pricing
How to choose and register a domain
Use a short, memorable name that reflects your brand and is easy to spell. Avoid names that could infringe someone else’s trademark. Compare both the initial registration price and renewal costs, not just the first-year offer.
Register through an account controlled by your organization. Keep the registrant contact and recovery address current, enable multi-factor authentication if available and set renewal reminders. Never publish private account credentials or authorization codes.
- Check spelling and brand conflicts.
- Compare renewal and transfer terms.
- Confirm ownership and recovery access.
Understand DNS records and nameservers
DNS is the system that maps domain names to service information. Authoritative nameservers publish a domain’s DNS records. Changing nameservers changes which DNS zone answers queries, while editing an individual record changes one part of that zone.
Use the exact records supplied by the service provider. A website pointing correctly does not mean mail is configured correctly. MX and TXT records may still need attention.
| Record | Purpose |
|---|---|
| A | Points a hostname to an IPv4 address |
| AAAA | Points a hostname to an IPv6 address |
| CNAME | Aliases a hostname to another hostname |
| MX | Directs incoming email to mail servers |
| TXT | Stores text such as verification and SPF |
| NS | Identifies authoritative nameservers |
Change DNS without breaking email
Export or record the existing zone before changing DNS. Identify website records, mail delivery records, SPF, DKIM, DMARC and verification entries. If moving nameservers, recreate needed records at the new DNS provider before switching.
DNS caches retain records for their TTL. Lowering the TTL in advance can shorten the period in which old answers are cached, but does not guarantee an immediate change everywhere. Verify the authoritative answers first and then check public resolvers.
- Back up existing records.
- Change only the intended records.
- Verify both website and email after the change.
dig example.com NS +short
dig example.com A +short
dig example.com MX +shortDomain transfer and renewal considerations
A registrar transfer and a hosting migration are different operations. A transfer may require unlocking the domain and obtaining an authorization code, depending on the extension. Eligibility restrictions can apply, so check the current registrar’s rules.
Keep the domain renewed during a website migration. Plan DNS changes separately from a registrar transfer if that reduces risk. Verify website and email service after each change rather than combining several unrelated changes at once.
Explore: Domain transfer · Website migration
Find the right domain for your website
Search for a domain and compare registration options.
Search domainsFrequently asked questions
Can I use a domain from another registrar?
Yes, in most cases. Configure the domain’s DNS as instructed by the hosting provider without transferring registration.
How long does DNS propagation take?
It depends on the previous TTL, resolver caching and the type of change. Verify authoritative DNS and allow existing caches to expire.
Does changing nameservers delete my emails?
Changing nameservers does not delete mailbox contents, but missing or incorrect mail records can interrupt delivery. Preserve and verify them.
