Skip to content

Domain Name

You'll buy a domain of your own for 10 to 15 dollars a year, point it at your site, and see the padlock in the address bar.

About

A free subdomain belongs to the host, but a domain belongs to you, and it costs about 10 to 15 dollars a year. Pointing it at your site means touching DNS once, which scares people more than it should, because it's four fields in a form. The one thing to take seriously is the renewal. Domains expire quietly, and if you let yours lapse, someone else can pick it up, so the last requirement is a calendar reminder.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
5
Takes
One weekend
Skill level
Beginner (done it a few times)
Cost
Inexpensive (under $20)
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Common badges in Web Building to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Buy a domain from a registrar rather than from your host. Porkbun, Namecheap and Cloudflare Registrar are cheap and don't play games at renewal time. A .com or your own country's code is fine, and you can skip the premium names and the 50 dollar add-ons. Take a screenshot of the order with the renewal price showing. Photo
  2. 2
    Add the DNS records your host asks for. Your host's docs will tell you which A, AAAA or CNAME records to add, so copy them exactly. Set the TTL low, around 300 seconds, while you're testing, so your fixes show up fast. Take a screenshot of the records in your registrar's DNS panel. Photo
  3. 3
    Wait for the records to propagate and check that they did. Run dig or nslookup on your domain, or use a site like dnschecker.org. It can take a few minutes or most of a day, so this is a good time to make a cup of tea. Take a screenshot showing your domain resolving to your host. Photo
  4. 4
    Turn on HTTPS and check the padlock. Every host named here issues a free certificate. Enable it, load your site over https://, and click the padlock to see the certificate. Check that http:// redirects to https:// as well. Take a screenshot of the certificate details. Photo
  5. 5
    Set a reminder for the renewal date. Domains expire without much warning, so put the date in your calendar a month early and turn on auto-renew with a card that won't expire before the domain does. Take a screenshot of the calendar entry. Photo