You could earn up to $300 by adding new articles!Get Started Now
This article contains information about the LAMP application that can be deployed on Vultr.
The LAMP application is available for CentOS 6 x64, CentOS 7 x64, and Ubuntu 16.04 x64.
After deploying a LAMP application VPS, you can log into the system with an SSH client using the root login found on your Vultr control panel.
You can access the Apache server by navigating to
http://[SERVER_IP]/ with a web browser. Remember to substitute the
[SERVER_IP] with the IP address of your VPS. You may also connect to the Apache server with
https://. A self-signed certificate is used, which means that your browser will show a certificate warning. It is safe to proceed beyond the warning.
The web document root is located at
/var/www/html/. You can create
.html files in that folder. For example, uploading a PHP file to
/var/www/html/donut.php would make the file accessible in your web browser at
Note: The CentOS 6 app has the document root configured at
/usr/share/httpd/html/. Instances created after March 5th, 2018 include a symlink from
The VPS also runs a MySQL database server. You can connect to the database with the following command:
mysql -u root
The MySQL root password is saved on the VPS in
Vultr applications use modern releases of software packages. Applications are configured to be deployed with specific versions of software. Over time, the Vultr team will update the application offerings to include newer operating systems, package versions, etc. This document only provides up-to-date information about the latest version of this application. Vultr applications are updated without notice. If you plan to build a project or infrastructure based on our application templates, we recommend taking a snapshot of the application used in your initial deployment.