From Domain to Router: Hands-on Prep for Your Own Publicly Served Blog

Buying a domain, setting up free DNS, port forwarding and SMTP — a step-by-step guide to self-hosting a Ghost blog on a Mac mini or home server and making it public.

Network preparation for a self-hosted blog: domain, DNS and router

Installing a Ghost blog doesn't by itself make it a blog the outside world can reach. Typing an IP address straight into the browser may be enough for testing, but it obviously falls short in production. An independent domain, a stable DNS connection, and router port settings for outside access — only after preparing each of these is "a blog I built myself" truly complete.

This post walks through, concretely, the four preparation steps you have to go through to run a self-hosted blog like Ghost or WordPress.


1. Domain Registration — Give Your Blog an Address

A domain that represents your blog's identity is essential. Providing a memorable text address instead of a bare IP improves accessibility for users and brand value. A domain is also something you must sort out early for SSL certificates and SEO.

📌 Things to Consider When Registering a Domain

  • Annual cost: about $8–15 a year for a .com
  • Interface: language support and how intuitive the management tools are
  • DNS integration: choose depending on whether you'll use a separate DNS service
RegistrarAnnual cost (as of 2025)Notes
Name.comAbout $8.99ICANN-accredited, intuitive UI
Cloudflare RegistrarAbout $9 (at cost)Good for direct DNS integration, no extra markup
GoDaddy$15–18Offers parking/hosting, somewhat expensive
Cafe24 DomainsFrom ₩13,200Korean interface, domestic card payment

Providers like Cloudflare that also offer a DNS service let you register domains at cost, which is economical. For users in Korea, Cafe24 can also be a reasonable choice.

Cafe24 domain registration

2. DNS Setup — The Bridge Between Your Domain and Server

Once you've bought a domain, you need to connect it to your server's actual IP address. That's what DNS setup is for. Registrars sometimes provide basic DNS, but dedicated DNS services offer more features and more flexible settings.

Cloudflare

  • Completely free, unlimited registered domains
  • Supports all record types, including A, CNAME and TXT
  • Includes automatic SSL certificates and web security features
  • HTTPS setup is simple in a Ghost + NGINX environment

DNSZi

  • Korean UI, suitable for beginners
  • Dynamic DNS support: outside access even without a static IP
  • Connect a home server even without a router that has built-in DDNS

If you run a home server, your router's IP may change, so DNSZi with Dynamic DNS can be a practical choice.


3. Router Port Forwarding — Make Outside Access Possible

With the domain and DNS set, you now need to configure the router so the blog can be reached from outside your home. This is done with a feature called "port forwarding," which passes incoming requests from outside to your internal server (such as the Mac mini where Ghost is installed).

✅ Basic Ports to Open

PortPurpose
80HTTP (basic web access)
443HTTPS (secure access)

✅ Example Setup on an ipTIME Router

  1. Open the router's admin page
  2. Go to Advanced Settings > NAT/Router Management > Port Forwarding
  3. Enter the following:
External portInternal IPInternal portProtocol
80192.168.0.101 (Mac mini)80TCP
443192.168.0.101443TCP

※ Ghost runs on port 2368 by default. A stable approach is to set up NGINX as a proxy server that opens ports 80/443 to the outside and forwards traffic to Ghost internally.


4. SMTP Setup — The Last Piece for Sending Email

Ghost includes member subscriptions, password resets and newsletter sending. But all of these only work properly once SMTP is set up. SMTP is the protocol for sending email.

Mailgun

  • Officially supported by Ghost
  • Has a free plan (5,000 emails/month)
  • SPF and DKIM setup is somewhat complex

Gmail SMTP (I plan to use Gmail.)

  • Usable with a personal Gmail account
  • Easy to set up and highly trusted
  • Has a daily sending limit, but enough for a small blog
black laptop computer
Photo by Stephen Phillips - Hostreviews.co.uk / Unsplash

🔐 Gmail SMTP Setup Summary

  1. Open Google Account security settings
  2. Enable 2-Step Verification
  3. Create an app password → give it a name such as "Ghost"
  4. Enter the generated 16-character password in Ghost's settings

If email isn't sent properly, the subscription feature can be useless. If you want to use Ghost properly, SMTP setup is a step you must go through.


Wrapping Up — Installation Alone Doesn't Complete a Blog

Spinning up Ghost with Docker now takes just a few lines of commands. But to build a blog that's properly served to the outside world, you need to prepare the whole process step by step: domain setup, DNS integration, router port forwarding and SMTP configuration.

Going through these steps yourself gives you a sense of being an "operator," beyond just using a platform to write on. A blog of your own with the flexibility and performance of a cloud service — anyone can now build one at home. And at the center of it is the environment you set up yourself.