Domains

What is a domain name and how does it work

A domain name is your address on the internet. This beginner friendly guide explains what a domain is, how DNS turns it into a website, and how to pick and register one in Uganda.

What is a domain name and how does it work

Every website you visit, from your bank to your favourite news site, sits behind a domain name. But what is a domain name exactly, and how does typing a few words into your browser bring up a page stored on a computer that could be thousands of kilometres away? This beginner friendly guide explains how domain names work, the parts that make them up, and what Ugandan businesses should know before registering one.

What is a domain name?

A domain name is the human friendly address of a website or online service, such as baasacloud.com or example.co.ug. Computers on the internet actually find each other using numbers called IP addresses, which look something like 192.0.2.45. Those numbers are hard to remember, so the domain name system lets us use words instead.

Think of it like a contact saved on your phone. You tap "Mama" instead of typing her full number. The phone looks up the number for you. The internet does the same with domain names.

The parts of a domain name

Take the example shop.kampalabakery.co.ug. Reading from right to left:

  • .ug is the country code top level domain (ccTLD) for Uganda.
  • .co is a second level category, often used for commercial organisations, giving .co.ug.
  • kampalabakery is the name you choose and register.
  • shop is a subdomain. Once you own a domain, you can create as many subdomains as you like, such as mail, portal or blog, at no extra registration cost.

Common domain extensions

  • .com: the most widely recognised global extension
  • .ug and .co.ug: show a clear Ugandan identity
  • .or.ug, .ac.ug, .go.ug: used for organisations, academic institutions and government respectively, with eligibility rules for some
  • .org, .net, .africa: other popular options
  • Newer extensions such as .shop, .tech or .online

How does a domain name work?

When you type a domain into your browser, a quick chain of lookups happens behind the scenes, usually in a fraction of a second.

  1. Your device checks its memory. If you visited the site recently, it may already know the IP address.
  2. It asks a DNS resolver. This is usually run by your internet provider, for example MTN, Airtel or your office ISP, or a public resolver.
  3. The resolver asks the root servers where to find information about the extension, such as .ug or .com.
  4. The extension's servers point to the domain's nameservers. These are the servers you set when you registered the domain, often provided by your hosting company.
  5. The nameservers return the record showing the IP address of the server that hosts the website.
  6. Your browser connects to that server and loads the page.

The resolver then remembers the answer for a set period, called the TTL (time to live), so the next lookup is faster.

Domain name vs website vs hosting

People often mix these up, so here is the difference:

  • Domain name: the address. You rent it, usually yearly.
  • Web hosting: the land and building where your website files live.
  • Website: the actual content, design and pages built on that hosting.

You can own a domain without a website, and you can move your website to a new host while keeping the same domain. That separation is useful: your address stays the same even if you change where you live.

Understanding DNS records

Your domain's DNS zone holds records that tell the internet where to send different kinds of traffic. The most common are:

  • A record: points the domain to an IPv4 address (the website server)
  • AAAA record: the same for IPv6
  • CNAME: points one name to another name, for example www to the main domain
  • MX records: tell other mail servers where to deliver email for your domain
  • TXT records: hold text used for verification and email security, such as SPF and DMARC

This is why one domain can power both your website and your business email at the same time.

Who controls domain names?

At the global level, ICANN coordinates the domain system. Each extension is run by a registry. Registrars are the companies authorised to sell domains to the public, and resellers sell on their behalf. When you buy a domain, you become the registrant: you hold the right to use it for the period you pay for, as long as you renew on time.

Your contact details are stored in the registration record. Make sure the registrant is your business, with an email address you control, not a former employee or the web designer who built your site years ago.

How to choose a good domain name

  • Keep it short and easy to spell when said aloud on radio or over the phone
  • Avoid hyphens and numbers where possible, as they cause confusion
  • Match your business name or a clear description of what you do
  • Consider registering both .com and .ug or .co.ug to protect your brand
  • Check that the matching social media handles are available
  • Avoid names that copy well known brands, which can lead to disputes

How to register a domain in Uganda

  1. Search for your preferred name on a registrar or hosting provider's website.
  2. Pick the extension or extensions you want.
  3. Enter accurate registrant details for your business.
  4. Choose the registration period. Multi year registration reduces the risk of forgetting to renew.
  5. Pay, often by Mobile Money, card or bank transfer depending on the provider.
  6. Point the nameservers to your hosting, or use the provider's default DNS.
  7. Switch on auto renewal or set calendar reminders well before expiry.

Costs vary by extension and provider, and renewal prices are sometimes higher than first year promotions, so confirm current rates before you commit.

Frequently asked questions

Do I own my domain forever once I buy it?

No. You register it for a set period, usually one to ten years, and must renew it. If it expires and is not renewed after the grace period, someone else may register it.

How long does it take for a new domain to work?

Registration itself is often quick. DNS changes can take anything from a few minutes to around 48 hours to update across the internet, depending on TTL settings and caching.

Can I change my domain name later?

You cannot edit a registered domain's spelling. You would register a new one and redirect the old one to it, which is why it pays to choose carefully at the start.

Conclusion

A domain name is the foundation of your online identity: it carries your website, your email and your reputation. Understanding how domains, DNS and hosting fit together helps you make better decisions and avoid costly mistakes. When you are ready, you can search for and register .com, .ug and .co.ug domains with Baasa Cloud and connect them to hosting and business email in one place.


← All posts Discuss on WhatsApp