Headless CMS

Strapi hosting

Open-source headless CMS. Deploy to a dedicated VPS in seconds — database auto-created, SSL installed, firewall locked down from the first boot.

Latest

Versions

SQLite / PostgreSQL / MySQL

Database

Node

Category

SSL included
Firewall locked
DB auto-created
Live in minutes
Overview

What is Strapi?

Strapi is an open-source headless CMS built with Node.js. You define content types in an admin panel and Strapi generates REST and GraphQL APIs that any frontend, mobile app or service can read.

Because Strapi is headless, it does not render your website. It stores and serves content, media and users, while your frontend (for example Next.js, React, Vue or a mobile app) decides how it looks.

Self-hosting Strapi gives you full control over content data, media files, plugins and API access, with no per-seat or per-entry hosting limits.

SharkCluster installs Node.js and creates a new Strapi project with the database you choose, builds the admin panel for production and runs Strapi with PM2 behind nginx or Apache.

Quick facts

Version
Latest
Database
SQLite / PostgreSQL / MySQL
Category
Node
  • SSL included
  • Firewall locked
  • DB auto-created
  • Live in minutes
Why SharkCluster

Why Strapi on SharkCluster?

API-first content

Every content type gets REST endpoints automatically, with GraphQL available as a plugin.

Visual content modelling

Build collection types, single types and components in the admin panel without writing schema code.

Choose your database

Start with SQLite or use PostgreSQL or MySQL, created for you during install.

Production build

The admin panel is built with NODE_ENV=production before Strapi starts.

Always running

PM2 restarts Strapi if it stops and after server reboots.

Media uploads

The reverse proxy allows uploads up to 50 MB for images, video and documents.

Features

What you get with Strapi

  • Strapi project created with create-strapi

  • SQLite, PostgreSQL or MySQL database

  • Production admin panel build

  • PM2 process management

  • nginx or Apache reverse proxy

  • 50 MB upload limit through nginx

  • REST API for every content type

  • Roles and permissions

  • Media library

  • Custom domain support

  • Free SSL certificate

  • SSH and SFTP access

Use cases

What Strapi is built for

Website content

Manage pages, posts and navigation for a Next.js, Nuxt, Astro or React site.

Mobile app backend

Serve content and user data to iOS and Android apps over REST or GraphQL.

Multi-channel publishing

Publish the same content to websites, apps and digital displays from one place.

Product catalogues

Model products, categories and media for a custom storefront.

Internal content tools

Give editors a clean admin panel for structured data used by other systems.

System requirements

Server specs for
Strapi

Not sure which plan to pick? The panel warns you before you deploy so you can choose the right size the first time.

  • Minimum specs shown before deploy
  • Panel blocks deploy if server is undersized
  • Upgrade path available inside the panel
Node.js
Node.js 20 LTS, installed during setup.
Database
SQLite, PostgreSQL or MySQL.
Memory
2 GB RAM minimum (the admin build needs about 1.5 GB free); 4 GB recommended.
CPU
1 vCPU minimum; 2+ vCPU recommended.
Storage
10 GB+ SSD, more for large media libraries.
Architecture

How Strapi fits together

1

Domain

Your API or admin subdomain points to the SharkCluster server.

2

Web server

nginx or Apache forwards requests to Strapi.

3

Strapi

Runs with npm start under PM2 as <app>-strapi on its own local port.

4

Database

SQLite in the project's .tmp folder, or a PostgreSQL or MySQL database on the server.

5

Uploads

Media files are stored in the project's public/uploads folder by default.

Get started

After your Strapi deploy

  1. 1

    Create a Strapi application

    Select Strapi in the SharkCluster panel and choose SQLite, PostgreSQL or MySQL.

  2. 2

    Connect your domain

    Point your domain to the server and enable SSL.

  3. 3

    Create the first admin

    Open https://your-domain/admin and register the first administrator account.

  4. 4

    Model your content

    Use the Content-Type Builder to create collection and single types.

  5. 5

    Set API permissions

    Under Settings > Users & Permissions, allow public or authenticated access to the endpoints you need.

  6. 6

    Connect your frontend

    Fetch content from /api/<collection> in your website or app.

Deployment

Ship Strapi your way

Install Node.js

Node.js 20, build tools, PM2 and create-strapi are installed.

Create the project

A JavaScript Strapi project is created non-interactively with the selected database.

Build the admin panel

npm run build compiles the admin panel for production.

Prepare storage

The .tmp folder used by SQLite is created and the project is owned by the app user.

Start with PM2

PM2 runs npm start with NODE_ENV=production on the app's port and is saved for reboots.

Configure the web server

nginx or Apache forwards your domain to Strapi.

Performance

Keeping Strapi fast

Use PostgreSQL in production

PostgreSQL handles concurrent editors and larger datasets better than SQLite.

Limit populated relations

Request only the fields and relations you need with the populate and fields parameters.

Cache API responses

Cache read-heavy endpoints at your frontend or a CDN.

Offload media

Use an upload provider such as S3-compatible storage for large media libraries.

Deployment checklist

Before you go live

  • Strapi is running in PM2

  • Admin panel opens at /admin

  • First administrator is created

  • Domain DNS points to the server

  • SSL is enabled

  • API permissions are configured

  • Media upload works

Production checklist

Ready your Strapi for launch

  • Use PostgreSQL or MySQL for multi-editor sites

  • Keep APP_KEYS, JWT secrets and database passwords in .env

  • Expose only the API endpoints your frontend needs

  • Use API tokens for server-to-server access

  • Back up the database and uploads folder

  • Rebuild the admin after config or plugin changes

  • Monitor memory usage

Useful commands

Working with Strapi

View Strapi logs

Show Strapi output and errors.

bash
pm2 logs <app>-strapi

Rebuild the admin panel

Run in the Strapi project folder after installing plugins or changing admin config.

bash
NODE_ENV=production npm run build

Restart Strapi

Apply code and configuration changes.

bash
pm2 restart <app>-strapi

Export data

Export content, files and configuration to an archive.

bash
npm run strapi export -- --no-encrypt -f backup
Troubleshooting

Common Strapi issues & fixes

502 Bad Gateway

Cause
Strapi is not running or failed to start.
Solution
Check pm2 logs <app>-strapi for the error, fix it and restart the process.

SqliteError: unable to open database file

Cause
The .tmp folder is missing or not writable by the app user.
Solution
Create the .tmp folder in the project and give the app user ownership.

403 Forbidden from the API

Cause
The role has no permission for that endpoint.
Solution
Enable find or findOne for the role under Settings > Users & Permissions, or use an API token.

Upload fails with 413

Cause
The file is larger than the proxy upload limit.
Solution
Raise client_max_body_size in the nginx site config and reload nginx.

Admin changes not visible

Cause
The admin panel was not rebuilt after a plugin or config change.
Solution
Run npm run build in production mode and restart Strapi.
Security config

Hardened before your first request

Every deploy is locked down from boot — closed firewall, valid SSL, and restricted access by default.

  • Use a strong password for the first admin account.

  • Give the Public role only the permissions it needs.

  • Use API tokens with limited scope for integrations.

  • Keep secrets in .env and out of version control.

  • Keep Strapi and plugins updated.

  • Serve the admin and API over HTTPS.

Database

The data layer behind Strapi

SQLite

Stored in the project's .tmp/data.db file; simple and suitable for small projects.

PostgreSQL

Recommended for production; the database and user are created during install.

MySQL

Supported as an alternative; the database and user are created during install.

Environment

Strapi environment configuration

.env file

Strapi reads HOST, PORT, APP_KEYS, JWT secrets and database settings from the project's .env file.

Production mode

PM2 starts Strapi with NODE_ENV=production, which disables the Content-Type Builder; model content in development and deploy the changes.

Upgrade safely

A safe Strapi upgrade path

  1. 1

    Back up

    Back up the database and uploads folder before upgrading.

  2. 2

    Read the migration guide

    Check Strapi's upgrade notes, especially for major versions.

  3. 3

    Upgrade

    Use the Strapi upgrade tool, then rebuild the admin panel.

  4. 4

    Restart and test

    Restart PM2 and check the admin, API and uploads.

Take a snapshot before every upgrade so a bad release can be rolled back in minutes.

Who owns what

We manage the server, you own the store

SharkCluster manages

  • VPS infrastructure
  • Node.js runtime
  • PM2 process
  • Database server
  • Web server
  • SSL
  • Firewall
  • Backups where enabled

You manage

  • Content types
  • Content and media
  • API permissions and tokens
  • Plugins
  • Strapi upgrades
  • Frontend integration

Everything below the application line — from nginx to backups — is infrastructure. Your code, content and store configuration are always yours, and you keep full SSH and root access.

FAQ

Frequently Asked Questions

The questions we hear most from people deploying Strapi on SharkCluster.

Contact support

Strapi is an open-source headless CMS for Node.js. You manage content in an admin panel and read it through REST or GraphQL APIs.

SQLite, PostgreSQL or MySQL. Choose one when you create the app; PostgreSQL is recommended for production.

Open /admin on your domain after install. The first visit asks you to register the first administrator.

Strapi disables the Content-Type Builder when NODE_ENV is production. Change models in a development copy and deploy them.

No. Strapi is headless. Connect a frontend such as Next.js, React or a mobile app to its API.

Building the admin panel needs about 1.5 GB of free memory. A 2 GB server is the minimum and 4 GB is recommended.

One-click setup

From deploy to live in minutes

Stack configured

Runtime, process manager and config files set up for you.

SQLite / PostgreSQL / MySQL wired

Database created with a user and credentials in your config.

SSL + firewall

Free Let's Encrypt certificate and closed-by-default UFW rules.

Deploy anytime

Push with Git, or use the built-in file manager and ZIP upload.

Start your journey today

How do you start
with SharkCluster?

To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.

No lock-in contracts
No credit card required
Dedicated DevOps manager