Order LAMP stack from the Marketplace App tab as shown in how to order a VPS with a one-click app. When the install card on your server page shows the finished result, follow the steps below.
What you get
Apache (the web server), MariaDB (the database) and PHP. It needs 1 GB of memory and takes 4 to 8 minutes.
1. Check it works
Open http://your-server-ip/ from the server page. You see a test page, and the server page lists the PHP version.
2. Put your site in the web folder
The web folder is /var/www/html. Connect with SSH and upload or create your files there.
3. The database
Sign in to MariaDB as root on the server:
sudo mysql
Create a separate database and user for each site, and give the user only that database. Do not use the root account in your site's code.
4. Domain and HTTPS
Point your domain at the server (guide) and add a free certificate (guide).
Next steps
- Connect to your VPS with SSH to run the commands above.
- Secure your new VPS before you put real data on it.
- Something not working? See what happens after you order an app, or open a ticket from Support.