Works with the AI Agents you already use

    Host CMS Websites: Railway, Render, Fly.io, Vercel, VPS

    by Siyakha Digital by Thebe Ramathebane

    1

    Hosts a website that has a CMS, a database or uploaded photos on Railway, Render, Fly.io, Vercel, DigitalOcean or a Coolify VPS, keeps the site up when the CMS is down, and moves it between hosts without losing data.

    Free

    Security scanned
    Host CMS Websites: Railway, Render, Fly.io, Vercel, VPS

    Host CMS Websites: Railway, Render, Fly.io, Vercel, VPS

    Example session with this skill installed

    Our client's site runs on Railway: a Node website, Payload CMS, Postgres and a volume for photos. The trial is ending. Should we move it, and where?

    • Read your context and instructions
    • Compiled the host cms websites

    Moving parts: website (Node), Payload CMS (Node 22, Next.js), Postgres (shared, payload schema), a 1 GB volume of uploads, 6 secrets, one custom domain. Visitors are in South Africa.

    Recommendation: Render, about $7 + $7 + $6 a month plus disk.

    • It's the closest match to the current setup: one render.yaml describes the website, the CMS, a disk at /data and Postgres.
    • Private networking stays: CMS_HOSTPORT comes from fromService.
    • Staying on Railway Hobby ($5 including $5 of usage) is also fine if usage stays low. The move is about the client wanting one fixed monthly figure.

    Why not the others:

    • Vercel and DigitalOcean: neither has a disk, so the photos would have to move to Blob or Spaces first.
    • Fly.io: Johannesburg is close to visitors, but Managed Postgres isn't offered there.
    • Coolify: the client has no one to patch a server.

    Steps:

    1. Commit the render.yaml and create the Blueprint, entering the API key when asked.
    2. pg_dump from Railway, then pg_restore into Render.
    3. Copy /data/media.
    4. Run node scripts/smoke.mjs <new site address> <new CMS address>.
    5. Upload a test photo, redeploy the CMS and check the photo is still there.
    6. Switch the CNAME at the DNS host.
    7. Keep Railway running for a week, then remove it with the owner's OK.

    For the owner: "Your site and the editing panel move to Render for about R400 a month on your own card. Nothing changes in how you edit. If the editing panel is ever down, the site keeps showing your last saved details."

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Static sites are easy to host anywhere. The trouble starts when a site has moving parts: a CMS the owner edits, a database, uploaded photos, form messages and secrets. Then the host decides whether photos survive a redeploy, whether the site goes down with the CMS, and how hard it is ever to leave. This skill makes your agent set those sites up so the host is a choice you can change in an afternoon.

    What's inside

    • SKILL.md: a six-step procedure. List every moving part, choose the host with a comparison table (costs checked 1 Dec 2026), make the app portable, deploy in the right order, verify with five checks, and hand over in plain words.
    • A CMS playbook:
      • choosing between Payload, Directus, Decap/Sveltia (git-based), WordPress and hosted CMSs;
      • modelling only what the owner edits;
      • admin, editor and website roles;
      • replaceable photo slots;
      • an owner's guide table.
    • Six host playbooks: Railway (including the 1 Dec 2026 switch from railway.json to .railway/railway.ts), Render, Fly.io, Vercel, DigitalOcean App Platform and Coolify on a VPS. Each has the setup steps and the traps: where uploads can live, free tiers that sleep or expire, regions, and private networking.
    • Templates:
      • a Node Dockerfile;
      • a render.yaml for site, CMS and Postgres;
      • a fly.toml with a volume;
      • content-source.mjs, which lays CMS values over defaults with a cache so the site keeps serving when the CMS is down, with 5 tests.
    • smoke.mjs: node scripts/smoke.mjs <site> [cms] checks the home page, health check, HTTPS redirect, a real 404 and the CMS admin. It exits 1 on failure, so it can gate a deploy.

    The rules it keeps

    • The site keeps working when the CMS is down.
    • Uploads live on a volume or in object storage, never in the app folder.
    • Before handover, the agent uploads a test photo, redeploys and checks the photo is still there.
    • Secrets are never committed or printed.
    • The owner owns the hosting account and the bill.
    • App and database run in the same region.
    • Deploys, plan changes and DNS changes happen only on request.

    Where it comes from

    It comes from a real multi-brand business site: a Node website reading Payload CMS over a private network on Railway, with Postgres, a volume for photos and a defaults file. The site moved from Directus to Payload without changing any page. The host playbooks were written for alternatives to that setup.

    Free and MIT-licensed. It works with any agent that reads SKILL.md files (Claude Code, Cursor, Codex CLI, Gemini CLI and others). The scripts need Node 18+.

    Prices were checked on 1 Dec 2026; confirm them on each host's pricing page before quoting. Vercel and DigitalOcean App Platform have no disk, so uploads need object storage. Fly.io Managed Postgres is not offered in every region (not in Johannesburg).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Software
    Node.js 18+@railway/cli
    Optional
    An account on your chosen host
    ora Linux VPS

    Permissions

    Network Access
    Environment Variables
    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    No. The CMS playbook covers Payload, Directus, git-based CMSs (Decap, Sveltia), WordPress and hosted CMSs. The content-source pattern works with any CMS that has an API.

    Your agent prepares everything and runs deploys when you ask. Buying plans, adding domains and changing DNS stay your decision.

    No. The region advice applies anywhere; the examples mention Johannesburg because that is where the source project was.

    Node 18 or newer. Each host playbook names that host's own CLI (Railway, Fly, doctl) where one is used.

    Ask your agent something like "Which host should this site move to?" or "Set up Payload on Render for this site". It lists the site's moving parts first, then recommends a host with the monthly cost and the steps.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Free