# Suggestions for self-hosting Ghost

**URL:** <https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033>\
**Category:** Self-hosting\
**Created:** [October 1, 2021, 9:54pm UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033 "2021-10-01T21:54:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prokopton](https://avatars.discourse-cdn.com/v4/letter/p/4da419/32.png) [@prokopton](https://forum.ghost.org/u/prokopton)\
**Post date:** [October 1, 2021, 9:54pm UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033/1 "2021-10-01T21:54:39Z")

</div>

After about two weeks of playing with Ghost on the local machine and getting it to work in production, and learning its tech stack, here are my suggestions.

1. If it is your goal to create content and make money from it, host your website with Ghost. Visit [ghost.org](http://ghost.org) and click on Pricing. It may not be worth your time to maintain and upgrade Ghost and its tech stack (linux, nginx, nodejs, mysql, ghost cli) over the years.

2. Only self-host if it’s part of your job and you intend to install multiple instances of Ghost. Otherwise, save yourself the headache, host with Ghost, and worry about the content. I’ve looked at their plans–if your traffic increases you can scale up.

3. Ghost likes a clean install of nginx, without any existing server block. Nearly every tutorial is based on a clean install of nginx with no existing server block.

Also, if you’ve just made any changes to DNS records, then wait a few hours for the propagation to take place. The recommended wait time is 24 hours.You can check after a few hours with:

$ nslookup [mydomain.com](http://mydomain.com)  
$ dig +trace [mydomain.com](http://mydomain.com)

Make sure the IP address matches the one provided by the VPS. Ghost production likes to use the domain name and not IP address.

1. Non-www and www. Just choose non-www for your website and forget the www. The www can be a pain: additional ssl certificate, redirection, duplication. Using non-www and www can create four sets for the site:

> **[Web Hosting, Domain Name Registration - MyDomain.com](https://www.mydomain.com)**
>
> Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, and various small business solutions.

> **[Web Hosting, Domain Name Registration - MyDomain.com](https://www.mydomain.com)**
>
> Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, and various small business solutions.

> **[Web Hosting, Domain Name Registration - MyDomain.com](https://www.mydomain.com/)**
>
> Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, and various small business solutions.

> **[Web Hosting, Domain Name Registration - MyDomain.com](https://www.mydomain.com/)**
>
> Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, and various small business solutions.

Just use one domain: [mydomain.com](http://mydomain.com) and have one A record. This will save you a lot of time. www is becoming a thing of the past anyway.

1. If you already have a SSL certificate, then click “NO” to SSL setup during the installation. Then after the installation, run: $ ghost setup ssl . There’s no need for small or medium business to pay for a SSL certificate, since Let’s Encrypt offers it for free and it’s much easier to install and configure, especially with Ghost.

2. If you’re trying to get Mailgun or another mail service to work and have issues, check with your VPS provider. I use Linode and after two days of fiddling around with the mail setup, I found that Linode blocks SMTP ports by default and a ticket has to made to request to open ports 25, 465, 587.

I’ll be glad to hear anyone else’s suggestions.

---

<div class="post-metadata">

**Author:** ![lcfd](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/lcfd/32/13024_2.png) [@lcfd](https://forum.ghost.org/u/lcfd)\
**Post date:** [October 6, 2021, 7:56am UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033/2 "2021-10-06T07:56:49Z")

</div>

> I found that Linode blocks SMTP ports by default and a ticket has to made to request to open ports 25, 465, 587

Do you know if DigitalOcean has the same problem and if the solution can be similar?  
I don’t need Mailgun at the moment, just the simple email loop.

---

<div class="post-metadata">

**Author:** ![pureflo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pureflo/32/35694_2.png) [@pureflo](https://forum.ghost.org/u/pureflo)\
**Post date:** [October 6, 2021, 1:11pm UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033/3 "2021-10-06T13:11:14Z")

</div>

> [@lcfd](#):
>
> Do you know if DigitalOcean has the same problem and if the solution can be similar?  
> I don’t need Mailgun at the moment, just the simple email loop.

Not that I experienced early on.

---

<div class="post-metadata">

**Author:** ![quac](https://avatars.discourse-cdn.com/v4/letter/q/c4cdca/32.png) [@quac](https://forum.ghost.org/u/quac)\
**Post date:** [November 29, 2021, 6:36am UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033/4 "2021-11-29T06:36:29Z")

</div>

Could you explain, or point me to the documentation for, the “simple email loop”?

---

<div class="post-metadata">

**Author:** ![lcfd](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/lcfd/32/13024_2.png) [@lcfd](https://forum.ghost.org/u/lcfd)\
**Post date:** [February 14, 2022, 10:56am UTC](https://forum.ghost.org/t/suggestions-for-self-hosting-ghost/26033/5 "2022-02-14T10:56:23Z")

</div>

Hi! Maybe I’m late but here’s the link

> **[Configuration - Adapt your publication to suit your needs](https://ghost.org/docs/config/#mail)**
>
> Find out how to configure your Ghost publication or override Ghost's default behaviour with robust config options, including mail, storage, scheduling and more!
