How to Add a Custom Domain to Your Ghost Site

Every site on Hosting for Ghost starts on a free .app.runonflux.io address with HTTPS, and you can move it to your own domain whenever you like. The method is a CNAME record. The one thing that surprises people is that Ghost has a site address of its own, which has to match. This guide covers the record, the setting, how to check both, and what to review afterwards.

What changes, and what stays

When you add a domain, three things move together: the DNS record at your registrar or DNS provider, the domain set in the hosting panel, and Ghost's own site address, the url setting. On our servers the site address follows the domain, so you set the domain in one place. If you run Ghost yourself, you change the url setting too, and if the two disagree Ghost answers with confusing redirects. Your content, members and settings are unaffected.

Step 1: Start on the free address

Before you change anything, open the free address and make sure the site works: the home page loads over HTTPS, you can sign in to /ghost, and a test post publishes. If something is wrong, you want to know that it is not caused by the domain change. The free address stays useful as a known-good reference while you work.

If you are moving from another site, also finish the checks in the migration guide on the free address first, so the domain is the last thing you switch.

Step 2: Add the CNAME record

A CNAME record says that one name is another name's alias. At your DNS provider you create a record with these parts:

FieldValue
TypeCNAME
Name / hostThe part of your domain to use, for example www or blog
Target / valueThe free address of your app, ending in .app.runonflux.io
TTLA low value such as 300 seconds while you test, raised later if you wish

Delete any older record for the same name, such as an A record, because a name cannot normally have both. Many DNS providers do not allow a CNAME on the bare domain, such as example.com itself. The usual solutions are to use a subdomain such as www and redirect the bare domain to it, or to use your provider's ALIAS, ANAME or CNAME flattening feature if it has one. Check your provider's documentation, because the names differ.

If you already added mail records for your domain, as described in the email guide, they are separate records and remain as they are.

Step 3: Set the domain in the panel

Open the Domain tab in the panel and enter your domain. Ghost's site address changes with it, so sign-in links, the links in newsletters and the addresses in your theme all start using the new domain. Allow a short time for the change to take effect before you test.

Step 4: Check DNS and HTTPS

Check the record

From a terminal, run nslookup blog.example.com or dig blog.example.com CNAME, using your own name, and confirm it returns the free address you entered. If it returns nothing or something else, the record has not propagated or is on the wrong name. DNS provider dashboards also show whether a record is live.

Check HTTPS

Open the domain in a browser using https://. You should see the site and a valid certificate with no warning. If the browser warns about the certificate, wait a little and retry, because certificates for a new domain can take a short time to appear after the DNS record resolves. If the problem persists, contact support from the panel and say which domain and which record you set.

Check for redirect loops

If the page keeps reloading or the browser reports too many redirects, the site address and the domain disagree. Confirm that the domain in the panel is the one you are visiting, with the same spelling and the same choice of www or not.

Step 5: Review links and redirects afterwards

  • Sign-in links. Request a member sign-in link and confirm it opens on your domain, not the free address. This depends on SMTP being set up.
  • Internal links. Older posts may contain links with the old address typed in full. Open a sample and fix any that were pasted as absolute links.
  • Redirects. If you changed from one domain to another, add Ghost redirects for old paths on the new site, and keep your old site's own redirect in place.
  • Profiles and tools. Update your social profiles, the sender address in your email provider, any Stripe branding and search console properties to the new address.
  • The free address. Treat it as retired. Do not leave it published in newsletters or bios.

When something is not working

Work through it in order. First confirm the record exists and points at the free address. Then confirm the domain is set in the Domain tab. Then confirm HTTPS loads. Then test a sign-in link. Most problems are one of these four: a record on the wrong name, an older conflicting record, a typo in the domain, or a cached result from before the change. For the broader picture of what a Ghost site needs and what it costs, see the cost guide, and for the section overview return to the section home.

Set up your site with Hosting for Ghost on Flux.

Frequently Asked Questions

Do I need my own domain to use Ghost on Flux?

No. Every site comes with a free .app.runonflux.io address that already has HTTPS. A custom domain is optional and can be added at any time.

Why does Ghost need to know the domain?

Ghost builds links, sign-in emails and redirects from its configured site address. If that address does not match the domain visitors use, links point to the wrong place or Ghost redirects in circles. On our servers the address changes together with the domain, so you do not edit both separately.

Can I use a bare domain such as example.com?

Many DNS providers do not allow a CNAME record on the bare domain itself. Use a subdomain such as www, or look for an ALIAS, ANAME or CNAME flattening feature at your DNS provider. Check your provider’s documentation.

How long does the change take?

It depends on your DNS provider and the TTL value of the record. Often it is minutes, and sometimes longer. Lowering the TTL a day in advance makes the switch faster.

Will old links to the free address still work?

Do not rely on it. Once the site address changes to your domain, treat the free address as retired, update any links you control, and test what happens on the old one before you tell readers about the change.

Ghost is a trademark of Ghost Foundation (https://ghost.org). Flux is not affiliated with or endorsed by Ghost Foundation.

Hosting for Ghost on the decentralized cloud

Dedicated resources, a synced MySQL database, HTTPS and your own domain. From $6.99/month.

Hosting for Ghost on Flux

Publish. Email. Earn. On your own site.

A product of Flux

Ghost is a trademark of Ghost Foundation (https://ghost.org). Flux is not affiliated with or endorsed by Ghost Foundation.

© 2026 InFlux Technologies. All rights reserved. v1.20.0