Get started

Set Up a LAMP Stack on Your AtoZNode VPS

A LAMP stack gives you Apache, MariaDB and PHP, ready for your own PHP site. Find the web folder and database login.

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

Still stuck? Contact our team or open a support ticket.

Need a server to try this on?

Cloud VPS plans start at ₹899 a month, with full root access.