Ghost is not installed automatically: you follow the official procedure on Ubuntu 24.04. Bulk newsletter sending goes through a Mailgun account that you create yourself.
Choose the resources of your VPS
Ghost runs on all our Linux VPS plans: you only pay for the VPS.
With your consent, we measure which ads bring us customers and how the site is used. Without it, nothing is measured and the site works exactly the same. You can change your mind at any time. Cookie policy.
Install Ghost on an Ubuntu 24.04 VPS with Ghost-CLI, Nginx and MySQL: requirements, steps, the plan to choose and how to set up email.
Ghost is an open source blogging and newsletter platform. Here is how to install it yourself on an Ubuntu 24.04 VPS with the official Ghost-CLI tool.
Step-by-step procedure
Order the VPS and connect
Order a VPS Mini with Ubuntu 24.04 LTS, connect over SSH as root and create a user with sudo. Do not call it "ghost", that name conflicts with Ghost-CLI.
Install Nginx and MySQL
Update the system, then install Nginx and MySQL from the Ubuntu repositories. Next, set a password for the MySQL user Ghost will use, as described in the official documentation.
Install Node.js
Add the NodeSource repository and install a Node.js version supported by Ghost. Version 22 is the example in the documentation, so check the list of supported versions before installing.
Install Ghost with Ghost-CLI
Install Ghost-CLI, create the site folder and start the installation. The wizard asks for the blog URL and MySQL credentials, then offers to configure Nginx, SSL and systemd.
Set up email and the admin account
Open your-domain/ghost to create the administrator account. Then add the SMTP credentials of your email service to config.production.json and restart Ghost with the ghost restart command.
Choose the resources of your VPS
Ghost runs on all our Linux VPS plans: you only pay for the VPS.
Recommended base: Ubuntu 24.04
VPS Mini: €3.99 per month incl. VAT with a 1-year term (or €4.99 per month with no commitment) · 2 vCPU · 8 GB RAM · 40 GB storage
VPS Essentiel: €7.99 per month incl. VAT with a 1-year term (or €9.99 per month with no commitment) · 4 vCPU · 16 GB RAM · 80 GB storage
VPS Performance: €17.59 per month incl. VAT with a 1-year term (or €21.99 per month with no commitment) · 8 vCPU · 48 GB RAM · 150 GB storage
VPS Pro: €27.99 per month incl. VAT with a 1-year term (or €34.99 per month with no commitment) · 12 vCPU · 64 GB RAM · 250 GB storage
Why run Ghost on a VPS?
Ghost is open source software written in Node.js for publishing articles, managing subscribers and sending a newsletter. The editor is clean, themes can be changed from the admin area and the site can sell paid memberships through Stripe. Ghost(Pro) is the hosted version, but the software itself is free when you install it on your own server.
Self-hosting it on a VPS lets you choose the domain, themes, integrations and database. Your posts and member list stay on your machine, you decide when to update, and you can run other services next to it, such as an audience analytics tool or a second site.
Root access for Ghost-CLI
Ghost-CLI configures Nginx, the SSL certificate and the systemd service. With root SSH access on the VPS, you follow the official procedure without shared hosting limits.
Reserved resources
The vCPUs and RAM of the VPS are yours. Node.js and MySQL do not share memory with other sites, so the admin area stays responsive while you publish.
Dedicated IPv4 for your domain
Every VPS has its own public IPv4. Point your domain's A record at it and Ghost-CLI obtains the Let's Encrypt certificate directly.
Backups from the panel
Before a Ghost update or a theme change, start a VPS backup from the panel. If something goes wrong, you return to the previous state.
Before you start
Good to know: Ghost is not installed automatically: you follow the official procedure on Ubuntu 24.04. Bulk newsletter sending goes through a Mailgun account that you create yourself.
System: Ubuntu 24.04 LTS
At least 1 GB of RAM according to the Ghost documentation (VPS Mini is plenty)
A domain name with an A record pointing to the VPS IPv4
Ports 80 and 443 open for Nginx
A Node.js version supported by Ghost and MySQL 8
An external SMTP service for email (Mailgun for newsletters)
Install Ghost on your VPS
The main steps, to follow over SSH. The official documentation is the reference for the details.
Order the VPS and connect: Order a VPS Mini with Ubuntu 24.04 LTS, connect over SSH as root and create a user with sudo. Do not call it "ghost", that name conflicts with Ghost-CLI.
Install Nginx and MySQL: Update the system, then install Nginx and MySQL from the Ubuntu repositories. Next, set a password for the MySQL user Ghost will use, as described in the official documentation.
Install Node.js: Add the NodeSource repository and install a Node.js version supported by Ghost. Version 22 is the example in the documentation, so check the list of supported versions before installing.
Install Ghost with Ghost-CLI: Install Ghost-CLI, create the site folder and start the installation. The wizard asks for the blog URL and MySQL credentials, then offers to configure Nginx, SSL and systemd.
Set up email and the admin account: Open your-domain/ghost to create the administrator account. Then add the SMTP credentials of your email service to config.production.json and restart Ghost with the ghost restart command.
For which projects?
Personal or company blog
Newsletter with subscribers
Publication with paid memberships
Editorial documentation site
The essentials, included in every plan
No hidden extras for the essentials: protection, an IP address, a recovery console and support from real people are included from the first plan.
Anti-DDoS: Network protection is included on every service, with no paid option.
Dedicated IPv4: Each VPS has its own public address and full root access.
Recovery console: Take back control of your VPS with the noVNC console, even without SSH.
Support 7 days a week: By ticket and on Discord, from a team that knows your services.
No commitment: Monthly, cancellable at any time, or yearly to pay less.
Run Ghost on your own VPS.
Choose your resources, install, stay in control. No commitment.
Frequently asked questions
How do I install Ghost on a VPS?
Order a VPS running Ubuntu 24.04, create a sudo user, install Nginx, MySQL 8 and Node.js, then the Ghost-CLI tool. In a dedicated folder under /var/www, the ghost install command asks the right questions and configures Nginx, the SSL certificate and the systemd service.
Which VPS plan should I choose for Ghost?
The Ghost documentation asks for at least 1 GB of RAM. The VPS Mini, with 2 vCPUs and 8 GB of RAM, is fine for starting a blog or newsletter and leaves room for MySQL. Move to the VPS Essential if you add other sites or services on the same machine.
Is Ghost free?
Yes, Ghost is open source under the MIT license and free to self-host. Ghost(Pro) is the publisher's paid hosted offer, which you do not need on a VPS. Only external services need planning: Mailgun for sending newsletters and Stripe if you sell memberships.
Why do Ghost newsletters need Mailgun?
Ghost separates two kinds of email. Service emails, such as invitations or sign-in links, go through the SMTP service of your choice. Bulk newsletter sending is built in Ghost around Mailgun, which you configure in the settings with your own account.
How do I update Ghost on my VPS?
Log in as the user who installed Ghost, go to the site folder and run ghost update. Ghost-CLI downloads the new version and restarts the service. Take a VPS backup from the panel right before, so you can roll back if a theme causes trouble.