Purchase a HostGator Self-Managed VPS with Ghost Installation
Create and manage a professional publication with Ghost, an open-source publishing platform designed for writers, creators, publishers, and businesses. Ghost brings content publishing, newsletters, memberships, subscriptions, and audience engagement together in a single platform. With Ghost, you can create and publish posts and pages, organize your content, customize your site's design, send newsletters, manage members, and offer paid subscriptions. Some features rely on third-party services that have their own accounts and fees: sending newsletters requires a bulk email provider such as Mailgun, and paid subscriptions require a Stripe account. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your Ghost installation, and the content and member data you host.
Key Benefits of Ghost
Ghost provides tools focused on content creation, audience growth, and publication management. Some of its key benefits include:
- Powerful Publishing Tools: Create and publish posts and pages using Ghost's visual editor.
- Customizable Themes: Install and customize themes to create a unique look and feel for your publication.
- Built-In Newsletters: Send your published content directly to members through email newsletters.
- Membership Management: Allow readers to sign up as members and manage their access to your content.
- Paid Subscriptions: Create paid membership tiers and offer exclusive content to subscribers.
- Content Scheduling: Schedule posts and newsletters to be published on a specific date and time.
- SEO Features: Manage metadata and use built-in SEO tools to help search engines discover your content.
- Built-In Analytics: View content, newsletter, and member-source analytics to better understand your audience.
What Can You Do with Ghost?
Ghost provides the tools you need to create, publish, and manage a content-focused publication. With Ghost on your Self-Managed VPS, you can:
- Create Posts: Write and publish articles, tutorials, reviews, and other types of content.
- Create Pages: Add standalone pages for information such as About, Contact, and other sections of your publication.
- Organize Content: Use tags and other publishing tools to keep your content organized.
- Schedule Content: Schedule posts and newsletters for future publication.
- Send Newsletters: Deliver posts and email content directly to your members.
- Manage Members: View and manage free and paid members of your publication.
- Create Paid Tiers: Offer different membership levels and provide exclusive content to paying members.
- Customize Your Publication: Install themes and adjust your site's design and appearance.
- Manage SEO: Add custom metadata and use Ghost's built-in SEO features for your posts and pages.
- View Content Analytics: Review post and newsletter performance to understand how your content engages readers.
- Manage Newsletter Audiences: Send newsletters to specific member groups based on their membership status or newsletter subscriptions.
- Connect Integrations: Connect Ghost with supported external tools and services to extend your publication's functionality.
Ghost on a HostGator Self-Managed VPS provides a flexible platform for creating and growing your own publication. From publishing and organizing content to managing memberships, sending newsletters, and reviewing audience engagement, Ghost provides the tools you need to build and maintain an engaged readership.
How to Purchase a Self-Managed VPS with Ghost

Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
- Great option if you're new to VPS or want a fast, easy setup
- Get the recommended configuration for your project right away
- No need to figure out the technical details yourself
- Full flexibility to adjust settings later on
To use Ghost on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:
- Open https://www.hostgator.com/vps-hosting in your browser.
- Pick the plan you want and click Choose Plan.

Important: Pricing is subject to change—please visit https://www.hostgator.com/vps-hosting for the current introductory/sign-up offer for HostGator Self-Managed VPS Hosting. For the most up-to-date renewal pricing, visit your Customer Portal Renewal Center.
- Pick a Data Center location.

- On the Cart page, you can set up your server the way you want:
- Hardware:
- Pre-selected:
You can change to a different Self-Managed VPS plan here.

- Configure:
Click Configure if you want to build your own custom package.
Note: any changes you make here will change the total price.

- Pre-selected:
- Software:
The app will be grayed out if your selected plan does not meet its minimum requirements.
- Click the Application tab.
- Choose Ghost.

- In the pop-up, click Confirm.

- Hardware:
- Support & Security:
You can add Premium Support, an optional paid add-on that gives you a dedicated specialist team for server tuning and migrations, plus priority chat and phone access. The current price is shown in your cart before you complete checkout.

- AI Credits:
You can add a HostGator AI Credits package, an optional paid add-on that lets you connect your application to supported LLM providers, including Claude, GPT, Gemini, and Grok, using one API key and a single bill. Supported models may change over time. The current price is shown in your cart before you complete checkout.

- In Advanced options, you can set these up if you want:
- Extra IPs: Add more IP addresses for an extra cost. The price depends on how many you add, and the current price is shown in your cart before you complete checkout.
- Hostname: Give your server a custom name. This is optional.
- SSH Key: If you want to log in without a password, add your SSH public key here. This is optional.

- Choose a billing term, check your Order Summary, then click Continue to Checkout.

- Review your HostGator cart. Some add-ons may be included by default. Review each item, remove any you don't want, then click Continue to Checkout again.

- On the Checkout page, do the following:
If you are new to HostGator:
- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

- Create a password for your account.

- Choose how you want to pay—credit card or PayPal—and enter your payment details.

If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.
- Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice.

After checkout, your Self-Managed VPS will begin setting up. Once it's ready, you can find it under the Hosting tab in your Customer Portal.
Getting Ghost Up and Running
Once installation is finished:
- Log in to your Customer Portal.
- From the left-hand menu, navigate to Hosting and select My Plans.

- Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

- Click the Reset Password button.

- In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

- Connect to your VPS via SSH.
Using your VPS IP address and login details, connect through an SSH client, then follow the prompts and type in your root password when requested:Replaceyour_server_ipwith your actual server IP address.ssh root@your_server_ipWelcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-117-generic x86_64) ******************************************************************************** Ghost Publishing Platform Ghost : 6.42.0 Nginx : active MySQL : active Node.js : v22.22.2 Blog : http://12.1.1.110/ Admin : http://12.1.1.110/ghost/ (create your account on first visit) SSH : port 22 | HTTP : port 80 | HTTPS : port 443 (UFW open; add SSL cert to activate) UFW enabled Credentials (generated on first boot): cat /root/.app_passwords Quick start: su - ghostapp # switch to the Ghost service user ghost status # check Ghost process status ghost restart # restart Ghost ghost update # update to latest version Service management: systemctl status nginx # Nginx reverse proxy systemctl status mysql # MySQL database tail -f /var/www/ghost/content/logs/http___*_production.log Enable HTTPS (post-deploy): 1. Point your domain DNS to this server's IP 2. Run the SSL setup script (uses acme.sh bundled with Ghost): bash /opt/ghost/setup-ssl.sh yourdomain.com 3. Update Ghost's URL to match: runuser -l ghostapp -c "ghost config set --dir /var/www/ghost url 'https://yourdomain.com'" 4. ghost restart --dir /var/www/ghost For full details refer: /root/README.md ******************************************************************************** To delete this message of the day: rm -rf /etc/update-motd.d/99-ghost ******************************************************************************** - View your first-boot credentials and URLs:
On first boot,
cloud-initgenerates all credentials (database, URLs) in/root/.app_passwords. Run:cat /root/.app_passwordsExample Output:
ghost_db_user="ghostapp" ghost_db_pass="23682b410ee4c0cf3e0193170930c52abc123" ghost_db_name="ghost_prod" ghost_blog_url="https://12.3.4.567/" ghost_admin_url="https://12.3.4.567/ghost/" # ghost_magic_link: NOT available yet. # Magic links can only be generated AFTER the Setup Wizard is completed # and an admin account exists. To mint one post-setup, run: # # curl -s -X POST http://localhost:2368/ghost/api/admin/authentication/magic-link/ \ # -H "Content-Type: application/json" \ # -d '{"email":"<your-admin-email>","emailType":"signin"}' # # The link will be emailed to the admin address (if SMTP is configured) # or can be retrieved from the Ghost logs. - Access the Ghost Admin panel in your browser and set up your admin user:
Warning: This address isn't encrypted, so the email address and password you enter are sent without protection. If possible, point your domain to the server and enable HTTPS before creating your admin account. The HTTPS setup steps are shown in the login message (MOTD) in Step 6. If you create your account over HTTP, change your password after HTTPS is enabled.Replace
<server-ip>with your actual server IP address.http://<server-ip>/ghost/- Open this URL in your browser (replace
<server-ip>with your actual server IP from the credentials file). - Follow the on-screen wizard to create your admin account. This is only needed once.
- Open this URL in your browser (replace
- If you want API access, use the Content API endpoint:
curl http://<server-ip>/ghost/api/content/posts/?key=<content-api-key>- Get your Content API key from the Ghost Admin panel.
- Use the Ghost CLI for management (run as the ghostapp user):
- Switch to the Ghost user:
su - ghostapp
- Show Ghost process status:
ghost status
- Restart Ghost:
ghost restart
- Update Ghost to latest version:
ghost update
- Tail the Ghost log:
ghost log
- List all Ghost installations:
ghost ls
- Switch to the Ghost user:
- Service management commands (run as root):
- Ghost systemd unit:
systemctl status 'ghost_*'
- Nginx reverse proxy:
systemctl status nginx
- MySQL database:
systemctl status mysql
- Follow Ghost journal logs:
journalctl -u 'ghost_*' -f
- Follow general Ghost log file:
tail -f /var/www/ghost/content/logs/ghost.log
- Follow production HTTP log file:
tail -f /var/www/ghost/content/logs/http___localhost_production.log
- Ghost systemd unit:
- Run the test suite (advanced):
prove /root/app_test/main.t
More Resources
Additional Information and Examples
You can run cat /root/README.md to see more information and useful commands:
Example Output:
root@server-123456:~# cat /root/README.md
# Ghost
## Description
Ghost is an open-source publishing platform that helps you create and grow a content-driven website, blog, or paid newsletter.
It includes a clean writing editor, built-in SEO tools, membership management, and subscription features, making it a strong choice for independent writers, journalists, and creators who want full ownership of their audience.
## Services
| Service | Port | Protocol | Notes |
| -------------- | ---- | -------- | ------------------------------------- |
| SSH | 22 | TCP | UFW rate-limited |
| Ghost / Nginx | 80 | TCP | HTTP - Ghost proxied via Nginx |
| Ghost internal | 2368 | TCP | Internal only, not exposed externally |
## How-to-use
### First-boot credentials
On first boot `cloud-init` generates all passwords and writes them to
`/root/.app_passwords`. Read them with:
```bash
cat /root/.app_passwords
```
### Accessing Ghost
```bash
# Admin panel (set up your account on first visit)
http://<server-ip>/ghost/
# Ghost Content API
curl http://<server-ip>/ghost/api/content/posts/?key=<content-api-key>
```
### Ghost CLI (SSH into server)
```bash
# Run as the ghostapp user
su - ghostapp
ghost status # show Ghost process status
ghost restart # restart Ghost
ghost update # update Ghost to latest version
ghost log # tail the Ghost log
ghost ls # list all Ghost installations
```
### Service management
```bash
systemctl status 'ghost_*' # Ghost systemd unit
systemctl status nginx # Nginx reverse proxy
systemctl status mysql # MySQL database
journalctl -u 'ghost_*' -f # follow Ghost journal
#tail -f /var/www/ghost/content/logs/ghost.log
tail -f /var/www/ghost/content/logs/http___localhost_production.log
# follow file logs
```
### Running the test suite
```bash
prove /root/app_test/main.t
```
## Links
- Documentation: [https://ghost.org/docs/](https://ghost.org/docs/)
- Ghost CLI reference: [https://docs.ghost.org/ghost-cli](https://docs.ghost.org/ghost-cli)
- Ghost API reference: [https://docs.ghost.org/content-api](https://docs.ghost.org/content-api)
- Ghost GitHub: [https://github.com/TryGhost/Ghost](https://github.com/TryGhost/Ghost)