Lesson 14 of 21

Get a Domain from Porkbun

Annual cost: ~$12/year Expected time: ~10 minutes (not counting domain name deliberation)

Why You Need a Domain

Several things in this curriculum work better (or only work) with a domain name:

Why Porkbun

If you prefer Namecheap, Cloudflare Registrar, or another provider, that's fine — the steps are similar.

What to Do

Step 1: Choose a Domain

  1. Go to porkbun.com
  2. Search for a domain name — some ideas:
    • yourname.dev (~$10/year)
    • yourname.xyz (~$1/year for the first year)
    • somethingcreative.com (~$10/year)
    • A subdomain of something you already own works too
  3. You'll use subdomains for different services (e.g., git.yourdomain.com for Gitea, claw.yourdomain.com for OpenClaw)

Step 2: Purchase

  1. Create a Porkbun account using your Proton Mail address
  2. Pay with your Privacy.com card — create one named "Porkbun Domain"
    • Set the spending limit to $20/year (covers most domains)
  3. Save the login in Bitwarden "OpenClaw" folder
  4. Complete the purchase

Step 3: Point DNS to Your Server

In the Porkbun dashboard, go to your domain → DNS Records:

For the root domain:

Field Value
Type A
Host (leave blank or @)
Answer YOUR_SERVER_IP
TTL 300

For Gitea (next lesson):

Field Value
Type A
Host git
Answer YOUR_SERVER_IP
TTL 300

For OpenClaw web interface:

Field Value
Type A
Host claw
Answer YOUR_SERVER_IP
TTL 300

DNS propagation takes a few minutes to a few hours. You can check with:

dig +short git.yourdomain.com

If you don't have dig installed (common on Windows), use nslookup instead — it works on Windows, macOS, and Linux:

nslookup yourdomain.com

When the command returns your server IP, you're ready.

Step 4: Enable Auto-Renew

In Porkbun, make sure auto-renew is on for your domain. Losing a domain because you forgot to renew is a real and annoying problem.

Tips

When You're Done

Further Reading