/ One Hostname to Rule Them All

Put Your Ghost Blog Wherever You Want

Ghost Blog, wherever you want it! Compelling written content is an excellent way to grow your business. Quality writing can build a dedicated readership, catalyze social engagement, and allow you to rank well within search engines. At Fly, we use Ghost Pro to host our articles. We also offer Ghost as an application within Fly; you can place Ghost Pro or self-hosted Ghost on any subdirectory atop your domain.

Ghost-ess With the Most-ess

Set-up is simple. The requirements are 5 minutes of time and ownership of a domain name upon which you'd like to attach Ghost. If you're new to Fly, the first step is to sign-up. As part of sign-up, or from the Fly dashboard, the next step is to add Ghost as one of your applications, backends, or services.

When prompted to add a new backend, select Ghost. After that, you'll want to add your Ghost URI: example.ghost.io and the path that you'd like to mount it to: /articles/, for example.

add-and-mount-ghost

Once you've connected Ghost, you'll receive a URI ending in shw.io in return. With this URI in hand, head over to your DNS provider and create an ALIAS, CNAME, or A record.

If you're using Ghost Pro, the final step is to include the domain that you've verified within Fly under Custom Domain:

ghost-pro

With your domain connected via your record, your Custom Domain configured within Ghost settings, and your Ghost Blog attached to Fly via setup, when you visit yourdomain.com/articles you'll see your Ghost Blog! Neat-o!

Subdirectory... But Why?

It's common for people to put articles on subdomains. Most developers don't want to go through the hassle of wrangling a reverse-proxy in order to get things to appear on a subdirectory. Compared to a subdirectory, a subdomain only requires that you set-up a DNS record.

Here are a couple key reasons why a subdirectory is the better idea:

  • SEO: When you have everything running through one domain, you build SEO authority for that domain. A subdomain is considered a separate property from your original domain. By stacking all of your content, applications, store-fronts or what-have-you, on subdirectories, everything soaks into your primary domain.

  • Explorability: If you attach your articles as /articles, your store as /store, and your docs as /docs, it helps your visitors navigate around your web property; the routing is straight-forward.

We've written more about SEO and subdirectores vs subdomains here.

In the past, the ease of the subdomain might have won over. Now, given that you don't need to configure your own reverse-proxy, subdirectories have become the clear winner.

Give It a Fly

Ghost Blog keeps getting better and better. With the release of 1.0, an already slick platform has made substantial improvements to its theming engine and writing application. They've helped make markdown writing and publishing fun and easy.

Fly and Ghost are a great pair. Apart from being able to weave everything onto subdirectores atop your domain name with ease, Fly allows you to inject Middleware to enable server-side features and analytics without bogging the client down in unnecessary JavaScript. Your pages become safer and faster, development becomes easier and your infrastructure becomes more organized.

Fly is a platform that helps you organize all of your applications, services, and backends upon your hostname. It's a bit like a global load balancer, a smart reverse proxy, and a library of powerful Middleware. Woven together, it's a fast, powerful, and intuitive network that creators like you control. It's free to sign up, as are your first 2,000,000 requests and 100GB of data transfer every month.

Kellen Evan Person

https://goodroot.ca

Kellen Evan Person

A polite, forest-dwelling Canadian who enjoys coding and writing. He's spent near two decades building web applications and strives to keep development fun and light-hearted.

North Vancouver, Canada