Skip to main content

Domain Names & TLDs

If Hosting is your house, and the IP Address is your GPS coordinates, then the Domain Name is your street address (e.g., 123 Code Lane). It’s the human-friendly way to find your corner of the internet.

1. The Anatomy of a URL

Most people think www.google.com is just one thing. Actually, it is made of several distinct parts that work together.

Let's break down https://blog.codeharborhub.com:

  1. Protocol (https://): The secure "language" being used to talk.
  2. Subdomain (blog): A sub-section of your main site. You can have as many as you want (e.g., app, dev, shop).
  3. Domain Name (codeharborhub): The unique name you purchased (The SLD - Second Level Domain).
  4. TLD (.com): The "Top-Level Domain" or extension.

2. Understanding TLDs (The Extensions)

The TLD tells the user (and the search engine) what kind of "neighborhood" the website belongs to.

  • .com: Originally for Commercial, now the global standard.
  • .org: Non-profits or organizations.
  • .net: Network infrastructure (common for tech).
  • .io: Popular for Tech Startups and APIs.

3. How do you "own" a Domain?

You don't actually "buy" a domain forever; you lease it from a Domain Registrar.

  • Namecheap: Great prices and easy interface.
  • Google Domains / Squarespace: Very clean setup.
  • Cloudflare: Sells domains at cost (no markup!).

4. Choosing the Right Domain

When choosing a name for your project or portfolio, follow these CodeHarborHub rules:

  1. Keep it Short: Ideally 2-3 words max.
  2. Avoid Hyphens: People forget them (e.g., code-harbor-hub.com is bad).
  3. The "Radio Test": If you say the name out loud, can someone spell it correctly without asking?
  4. Stick to .com or .dev: These carry the most trust for professional software work.
Subdomains are Free!

Once you buy yourname.com, you don't have to pay extra for portfolio.yourname.com or api.yourname.com. You can create unlimited subdomains through your DNS settings!

Don't Get Scammed

Some registrars will try to sell you "Domain Privacy" for $15/year. Many modern registrars (like Namecheap or Cloudflare) provide this for free. Always check before you pay extra!