Skip to main content
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog

Loading…

Servers Are Up

Your apps, automation and data on hardware we own. Build a private stack with predictable capacity and access through your dashboard, API or SSH.

SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    29 Step-by-Step Guides
  • Cloud & SaaS Catalog
    112 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Key Vault & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 23 Scopes
  • MCP Server
    129 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    34 Commands (v0.2)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/tutorials

Install WordPress on Your VPS

A manual LAMP-stack WordPress install on a Servers Are Up Linux server, published through a port forward.

Beginner
8 min
Updated 2026-10-27

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

There are two ways to run WordPress on a Servers Are Up Linux server:

  • From the server's Apps tab, for a live site. On Servers > [your server] > Apps, click Install an app and choose WordPress. It runs in Docker on your server with its own https address, and takes your own domain under Your own domain, with a certificate the platform renews.
  • By hand, as this guide does, with Apache, MySQL and PHP, when you want to manage every part yourself. The site answers on a port of your environment's public address over plain HTTP, so it suits development, staging and learning.

Prerequisites

  • A Servers Are Up account with an SSH key added
  • A Linux server running Ubuntu 24.04

Step 1: Create the server

Check out a Linux server running Ubuntu 24.04:

What you can create today: Buy any product marked Available in checkout and it is set up automatically; products marked Coming soon have no checkout yet. The sau CLI does not create instances.

Step 2: Connect via SSH

Turn on public SSH on the server's page and copy the command from its How to connect card. Root cannot sign in, so start a root shell for the steps below:

ssh sauuser@SERVER_ADDRESS -p SSH_PORT
sudo -i

Step 3: Install Apache, MySQL and PHP

apt update && apt upgrade -y
apt install -y apache2 mysql-server php libapache2-mod-php php-mysql \
  php-curl php-gd php-xml php-mbstring php-zip php-intl
a2enmod rewrite
systemctl enable --now apache2 mysql

Step 4: Create the database

On Ubuntu, MySQL's root account signs in as the system's root user, so the root shell from Step 2 needs no database password. Create a database and a user for WordPress, with a strong password of your own in place of STRONG_PASSWORD_HERE:

mysql <<'EOF'
CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'STRONG_PASSWORD_HERE';
GRANT ALL PRIVILEGES ON wordpress.* TO 'wpuser'@'localhost';
FLUSH PRIVILEGES;
EOF

This MySQL listens only on the server itself and has no anonymous accounts and no test database, so the clean-up mysql_secure_installation offers is already done.

Step 5: Put WordPress in place

cd /var/www
curl -fsSLO https://wordpress.org/latest.tar.gz
tar xzf latest.tar.gz
rm latest.tar.gz
chown -R www-data:www-data /var/www/wordpress

Step 6: Serve it with Apache

cat > /etc/apache2/sites-available/wordpress.conf <<'EOF'
<VirtualHost *:80>
    DocumentRoot /var/www/wordpress
    <Directory /var/www/wordpress>
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
EOF

a2ensite wordpress.conf
a2dissite 000-default.conf
systemctl reload apache2

# WordPress answers and sends a new site to its installer
curl -sI http://127.0.0.1/ | head -n 1

Step 7: Publish the site

A Linux server has no public address of its own, and nothing reaches it until you publish a port. On Network > Public access, under Port forwards, click Add a forward and choose the server, the protocol, an External port from your environment's block (the form names the range; every port in it is 10000 or higher) and the Target port your service listens on. The forward's row then shows the address and port to Connect to, and Who can connect limits it to the addresses you name. A forward opens its own firewall rule, so you add none for it.

A site you run on the server itself is served from its own web server. On the server's Console tab, under Website, give the port your web server listens on (plain HTTP; 80 unless you changed it) and click Serve website. The site gets its own address with HTTPS at once and stays private until you click Publish website. To put it at your own domain, add the domain on Network > Public access under Add a domain and choose that server; the platform obtains and renews its certificate. An app installed from Servers > [your server] > Apps, or an Instant App, takes your domain under Your own domain the same way.

For this site, add a forward with protocol TCP and Target port 80. While you set it up, put your own address under Who can connect.

Step 8: Run the installer

Open http://ADDRESS:PORT, the forward's Connect to value. WordPress asks for the database: name wordpress, user wpuser, the password from Step 4, and host localhost. It writes wp-config.php with fresh security keys, then asks for the site title and your admin account.

Hardening Checklist

  • Choose a table prefix other than wp_ in the installer
  • Keep WordPress, its plugins and its themes updated
  • Disable XML-RPC if nothing uses it
  • Keep file permissions at 755 for directories and 644 for files
  • Export the WordPress database and wp-content to storage you control

Next Steps

  • Deploy Next.js
  • Monitoring
  • Snapshots & Backups

Related Articles

Deploy Next.js

Read more

Monitoring

Read more

Snapshots & Backups

Read more

Frequently Asked Questions

What does the Install WordPress on Your VPS documentation guide cover?
A manual LAMP-stack WordPress install on a Servers Are Up Linux server, published through a port forward. It is rated beginner difficulty (8 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Install WordPress on Your VPS?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

PrerequisitesStep 1: Create the serverStep 2: Connect via SSHStep 3: Install Apache, MySQL and PHPStep 4: Create the databaseStep 5: Put WordPress in placeStep 6: Serve it with ApacheStep 7: Publish the siteStep 8: Run the installerHardening ChecklistNext Steps
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library