Skip to content
Domains and DNS2 min read

What is a domain name?

Short answer

A domain name is the name people type to reach your website, such as example.com, instead of remembering the server's IP address. You register it for a set period through a domain registrar, then point it to your hosting and email using DNS records.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Parts of a domain
  2. What happens when someone types your domain?
  3. Naming rules
  4. Common confusions
  5. On ArabyHost

A domain isn’t the website itself; it’s only the address, while the files live on a hosting server. Think of a shop’s name versus its building: the name tells people where to go, the building is the actual place. That’s why you can move your hosting to another company without changing the domain, and visitors keep typing the same address.

Parts of a domain

Take this URL: https://blog.example.com/about

Part Example Name
Protocol https:// Not part of the domain
Subdomain blog Subdomain
Name example The name you choose and register
Extension .com TLD
Path /about A page inside the site

The registered domain here is example.com; anything in front of it is a subdomain you can create for free, with no new registration.

What happens when someone types your domain?

  1. The browser asks DNS for the IP address linked to the name.
  2. The domain’s nameservers answer with the address in its A record.
  3. The browser connects to the server at that address and loads the site.

Naming rules

  • Latin letters, digits and hyphens - only, and no hyphen at the start or end.
  • Up to 63 characters per label (between the dots) and 253 for the full name.
  • Case doesn’t matter: Example.com is example.com.
  • Names in Arabic script are possible through IDN and are technically converted to a form starting with xn--.

Common confusions

  • Buying a domain isn’t owning it forever: you register it for a year or more; if you don’t renew, it expires and someone else can register it.
  • A domain isn’t hosting: a site needs both, and they can be with different companies.
  • A domain isn’t email: email on your domain needs a mail service and correct MX records.
  • Register it in your own name: if a developer or agency registers it under theirs, moving it later can be hard.

On ArabyHost

You can register generic and tech extensions such as .com, .net, .io, .ai and .store from the Araby Panel, then point the domain to the nameservers ns1.arabicode.com and ns2.arabicode.com. Arab country extensions such as .sa, .eg and .ae are registered with the accredited registrar in that country and then pointed to your hosting. To find a good name, try the domain name generator, then follow the domain registration guide.

FAQ

What's the difference between a domain and hosting?

The domain is the address visitors type; hosting is the server that stores the site's files and database. The domain points to the hosting through DNS records.

Can I buy a domain without hosting?

Yes. You can reserve the name now and connect hosting later, use it only for email, or redirect it to another site.

How long can I register a domain for?

Usually from one year, and up to 10 years for many generic extensions. You can renew at any time before it expires.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.