Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

MediaWiki on a VPS

MediaWiki is the free wiki software that runs Wikipedia: versioned pages, templates, categories and thousands of extensions for any knowledge base.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
80/tcp, 443/tcpPorts
GPL-2.0-or-laterLicense

About MediaWiki

MediaWiki is the PHP wiki engine the Wikimedia Foundation develops for Wikipedia, released under GPL-2.0-or-later. Every page keeps a full revision history, templates and categories give content structure, and thousands of extensions add semantic data, single sign-on and more.

Your own MediaWiki suits documentation, fan wikis or internal knowledge that outgrows a notes app. A small wiki needs little memory, and on CloudSat you can add caching, more PHP workers or a bigger plan as readers arrive.

After deploy the web installer at /mw-config/ asks for language, database and an admin account, then generates LocalSettings.php.

What you get with MediaWiki

  • Revision history and diffs for every page
  • Templates, categories and namespaces
  • VisualEditor alongside classic wikitext
  • User groups and page protection
  • Thousands of extensions and skins

MediaWiki use cases

  • Internal documentation and runbooks
  • A community or fan wiki open to editors
  • Structured knowledge bases with Semantic MediaWiki

After you deploy MediaWiki

  1. Wait for the Running status, then browse to http://<server IP>/mw-config/ to run the installer.
  2. Pick the language, enter the database details and create the wiki's administrator.
  3. Download the generated LocalSettings.php and upload it to the wiki's root folder over SFTP.
  4. Set $wgServer to your domain, add HTTPS, and decide whether anonymous visitors may edit.

MediaWiki ports

Open these in your firewall if you use one: 80/tcp HTTP, 443/tcp HTTPS.

MediaWiki FAQ

Which database should I choose?

MariaDB or MySQL is recommended, since Wikimedia itself runs MariaDB. PostgreSQL and SQLite also work, and SQLite suits a small private wiki.

How do I keep spam edits out?

Turn off anonymous editing in LocalSettings.php, add a CAPTCHA to sign-ups with the ConfirmEdit extension, and review recent changes regularly.

Disclaimer. The MediaWiki project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

MediaWiki on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back