LAMP-LIN-SSD-S
$3.99 USD/lu

LAMP Stack (Linux Apache MariaDB PHP)
1 Core (Intel CPUs)
2GB RAM (ECC)
60GB Storage (SSD)
100Mbps Network
1 Public IPv4 Address
Unlimited Bandwidth
Backup & restore included
DDoS Protection
Operating System CentOS 7
OS Updates Daily

LAMP-LIN-SSD-S2
$7.99 USD/lu

LAMP Stack (Linux Apache MariaDB PHP)
2 Core (Intel CPUs)
4GB RAM (ECC)
120GB Storage (SSD)
100Mbps Network
1 Public IPv4 Address
Unlimited Bandwidth
Backup & restore included
DDoS Protection
Operating System CentOS 7
OS Updates Daily

LAMP-LIN-SSD-M
$15.99 USD/lu

LAMP Stack (Linux Apache MariaDB PHP)
4 Core (Intel CPUs)
8GB RAM (ECC)
200GB Storage (SSD)
1Gbps Network
1 Public IPv4 Address
Unlimited Bandwidth
Backup & restore included
DDoS Protection
Operating System CentOS 7
OS Updates Daily

LAMP Stack VPS instantly Activated and Setup

Do you need to quickly get started with a LAMP stack that supports one or multiple sites? This is the plan for you. Our LAMP Stack VPS comes with Linux, Apache, Mysql and PHP instantly installed on setup.

Is this CLI managed or Control Panel managed?

This VPS plan does NOT come with a control-panel. This is all CLI managed to squeeze every bit of performance. This means you'll have to do research on commands, or procedures if you aren't familiar with the config. We can assist with pretty much any of it so just give us a shout if the default config is not working or you need help modifying it.

How Do I use the LAMP Stack VPS?

As soon as you purchase the VPS we'll instantly set it up for you. We have a script that runs upon boot up to configure the web services. You'll then get an email from us with the SSH root credentials.

By default, the LAMP stack VPS comes with configuration for hosting 1 domain (more can be added easily):

  • The webserver files should be placed in the /var/www/html directory.
  • We configure 1 Database, 1 database user and pass. Then we save the credentails to /root/serverinfo.txt for you.
  • Firewall is enabled to allow SSH, HTTP, and HTTPS.
  • SSH brute force protection is automatically configured via Fail2Ban.
  • CentOS Operating system automatically updates by yum-cron config in "/etc/yum/yum-cron.conf"

How Do I Add More Domains to Apache config in my VPS?

If you'd like to add more domains to the LAMP stack VPS just copy and paste the following code blocks into SSH and run it. Replace example.com and example2.com with the domains you want to add. This code configures Apache's virtual hosts. It's just 3 easy steps.

Step 1. Create the directories.

sudo mkdir -p /var/www/example.com/html
sudo mkdir -p /var/www/example2.com/html

Step 2. Now create the files for configuring a virtual host per website. Replace example.com and example2.com below with your sites.

Get the code block for this section here - LAMP CODE

Step 3. Apply some permissions and restart Apache.

chown -R apache:apache /var/www
cd /var/www
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
systemctl restart httpd

That's it, now just go ahead and point your DNS A records to the LAMP Stack VPS.

How Do I add More Databases to my LAMP Stack VPS?

If you need more databases to go along with your other sites simply use the code below. Replace any variable below that starts with "$". For example I'd replace "$db_name" with "MYDB".
note:The MYSQL root pass is saved in /root/server/info.

/usr/bin/mysql -u root --password=$mysqlrootpass -e "CREATE DATABASE $db_name"

/usr/bin/mysql -u root --password=$mysqlrootpass -e "GRANT ALL PRIVILEGES ON $db_name.* to '"$db_user"'@'localhost' IDENTIFIED BY '"$db_password"';"

How Do I configure Let's Encrypt Free SSL Certificate On My Lamp Stack VPS?

Simply run the following commands for every domain you have configured. Note that you must run these commands multiple times if you have multiple websites.

Step 1. Get the certs.
sudo certbot --apache -d example.com -d www.example.com
sudo certbot --apache -d example2.com -d www.example2.com

Step 2. Configure auto renewal.
echo "0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew" >> /var/spool/cron/root