NewCode CLOUD — 20% off your first month on all cloud VPSClaim

Ghost CMS on Hong Kong VPS: Publishing Platform for Asia-Pacific (2026)

· 3 min read

Ghost is the professional open-source publishing platform — cleaner than WordPress, faster than Drupal, and built natively for membership sites and newsletters. Self-hosting Ghost on a Hong Kong VPS eliminates Ghost(Pro)’s $25–100/month plans, enables custom themes without restrictions, and delivers your content at CN2 GIA latency to mainland Chinese readers.


Step 1: Install Ghost-CLI and Dependencies

<code">curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs mysql-server nginx
npm install -g ghost-cli

# Secure MySQL
mysql_secure_installation

# Create Ghost database
mysql -u root -p << 'SQL'
CREATE DATABASE ghost_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'ghost_user'@'localhost' IDENTIFIED BY 'GhostPass!';
GRANT ALL ON ghost_db.* TO 'ghost_user'@'localhost';
FLUSH PRIVILEGES;
SQL

# Create Ghost user and directory
adduser --shell /bin/bash --gecos '' ghost-runner
mkdir -p /var/www/ghost
chown ghost-runner:ghost-runner /var/www/ghost

Step 2: Install Ghost

<code">su - ghost-runner
cd /var/www/ghost

ghost install \
  --url https://blog.yourdomain.com \
  --dbhost localhost \
  --dbuser ghost_user \
  --dbpass GhostPass! \
  --dbname ghost_db \
  --mail SMTP \
  --mailhost smtp.yourprovider.com \
  --mailport 587 \
  --mailuser noreply@yourdomain.com \
  --mailpass SMTP_PASS \
  --no-prompt

# Ghost installs, configures Nginx, and starts automatically
ghost status

Step 3: Configure for Asia-Pacific Performance

<code"># /var/www/ghost/config.production.json — key performance settings
{
  "url": "https://blog.yourdomain.com",
  "server": { "host": "127.0.0.1", "port": 2368 },
  "database": {
    "client": "mysql2",
    "connection": {
      "host": "localhost",
      "port": 3306,
      "database": "ghost_db",
      "user": "ghost_user",
      "password": "GhostPass!",
      "charset": "utf8mb4"
    }
  },
  "caching": {
    "frontend": { "maxAge": 600 },
    "imageSizes": { "maxAge": 31536000 }
  },
  "imageOptimization": { "resize": true, "srcsets": true },
  "mail": {
    "transport": "SMTP",
    "options": {
      "host": "smtp.yourprovider.com",
      "port": 587,
      "auth": { "user": "noreply@yourdomain.com", "pass": "SMTP_PASS" }
    }
  }
}

Step 4: Nginx with Caching

<code">cat > /etc/nginx/sites-available/ghost << 'EOF'
proxy_cache_path /var/cache/nginx/ghost levels=1:2 keys_zone=ghost_cache:10m inactive=60m;

upstream ghost { server 127.0.0.1:2368; keepalive 16; }

server {
    listen 443 ssl http2;
    server_name blog.yourdomain.com;
    ssl_certificate /etc/letsencrypt/live/blog.yourdomain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/blog.yourdomain.com/privkey.pem;

    root /var/www/ghost/system/nginx-root;
    client_max_body_size 50m;

    # Cache public pages (skip for logged-in members)
    set $no_cache 0;
    if ($http_cookie ~ "ghost-members-ssr|ghost-access") { set $no_cache 1; }

    location /ghost/ {
        proxy_pass http://ghost;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto https;
    }

    location / {
        proxy_pass http://ghost;
        proxy_cache ghost_cache;
        proxy_cache_valid 200 10m;
        proxy_cache_bypass $no_cache;
        proxy_no_cache $no_cache;
        proxy_cache_key "$scheme$host$request_uri";
        add_header X-Cache $upstream_cache_status;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto https;
    }

    # Long-cache static assets
    location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
        proxy_pass http://ghost;
        expires 1y;
        add_header Cache-Control "public, immutable";
    }
}
EOF
nginx -t && systemctl reload nginx

Step 5: Members and Newsletter Setup

<code"># Ghost admin: Settings → Members → Enable members
# Set up email newsletter:
# Settings → Email newsletter → Configure Mailgun or custom SMTP

# Custom membership tiers (in Ghost admin):
# - Free tier: read public posts
# - Monthly $5: access premium content
# - Annual $50: premium + archive access

# Connect Stripe for paid memberships:
# Settings → Members → Stripe Connect
# Enter your Stripe publishable + secret keys

# Newsletter segments:
# Subscribers → Filter by: paid/free, newsletter opt-in, country

Step 6: Theme and Custom Domain

<code"># Upload custom theme (Casper is default)
# Ghost admin → Design → Change theme → Upload theme zip

# Popular themes for Asia-Pacific publishers:
# - Edition (multilingual-ready, $49)
# - Bulletin (newsletter-focused, free)
# - Solo (minimalist, free)

# Custom routes for content organisation
# /var/www/ghost/content/settings/routes.yaml:
routes:
  /tech/: tag/technology
  /cn/: tag/chinese     # Chinese-language content section

collections:
  /: { permalink: /{slug}/, template: index }
  /cn/: { permalink: /cn/{slug}/, template: index, filter: tag:chinese }

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

# Ghost restart required after routes.yaml changes:
ghost restart

Ghost vs WordPress: HK VPS Comparison

Factor Ghost (HK VPS) WordPress (HK VPS)
Base TTFB (cached) 50–150ms 80–200ms
RAM usage (idle) ~150 MB (Node.js) ~100 MB (PHP-FPM)
Plugin ecosystem Limited (integrations) 60,000+ plugins
Built-in newsletters Yes (Mailgun/SMTP) Requires plugin
Built-in memberships Yes (Stripe native) Requires plugin ($)
Best for Publications, newsletters, membership Blogs, CMS, e-commerce

Conclusion

Ghost on a Hong Kong VPS delivers a modern publishing platform — clean editor, built-in membership and newsletter capabilities, Stripe payments, and fast server-side rendering — without Ghost(Pro)’s $25–100/month subscription. Nginx caching serves published posts at sub-100ms TTFB to Asia-Pacific readers; CN2 GIA routing keeps mainland Chinese subscribers loading your newsletter landing pages in under 60ms. For independent publishers, media outlets, and SaaS companies running a content marketing blog, Ghost on a HK VPS is the most capable self-hosted publishing stack available today.

Publish to Asia-Pacific: Browse Server.HK Hong Kong VPS plans — a 2 GB plan handles Ghost with MySQL for most publications up to 100,000 monthly page views.

Related articles

More in VPS & ServersServer setup guides