LAMP Stack Application Overview
Quick Navigation Links
This installation is available through reinstalling the OS (Operating System) on your VPS which will configure the VPS as a LAMP (Linux Apache MySQL PHP) stack. This server includes the following setup already configured for you:
- Latest version of CentOS 7
- Latest version of Apache Web Server
- MariaDB 10.1 installed and configured
- Latest version of PHP-FPM installed and configured
To access your server through FTP, you’ll use the server’s IP or hostname provided in your welcome email. Your username will be root and the password will be your server’s root password.
Your webserver’s filepath is typically located in /var/www/html
Any content placed here will be publicly accessible on your website. If you’re familiar with cPanel’s setup, this is similar to the public_html directory.
To access MySQL on the server, you will want to login via the command line by typing mysql.
Your login details are saved in /root/.my.cnf
This gives you root privileged login to MySQL without specifying your username and root password.
Pointing Your Domain to Your LAMP Server
All you need to do to point your domain to your new server is update your domain’s A record to point to your server’s IP address. We have the following Knowledge Base Article on this process for various domain registrars:
Why Would I Want The LAMP Stack?
The LAMP Stack is a simple, yet popular setup that would allow development of a website. While this is not exactly recommended for newcomers, or those who are not too experienced with Linux, it is a simplistic setup for the functionality it provides. One reason you may want to use the LAMP Stack over cPanel for example. Could be that you are not looking to spend money on a cPanel license as you only need the base functionality of a PHP Web server. Along with being a quite popular environment for web servers, it has a great deal of documentation for each of the programs involved.
- How to Add/Modify your A Record – A guide on how to setup your A Record to point to your LAMP Server
- How to Install LAMP on Ubuntu 16.04 – A guide on how to setup the LAMP Stack on a preexisting Ubuntu 16.04 Server.