Question

After LAMP one click install, how to configure?

Posted April 24, 2021 728 views
LAMP Stack

After doing the one click LAMP install and ssh to the root directory, how do I configure the LAMP droplet to run the index.html in the default /var/www.html file when i visit the IP address of the droplet? Right now going to the IP address goes to the default “Please log into your Droplet with SSH to configure the LAMP installation.” page.

Thanks for your help.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Okay! I would suggest following this guide. Find where you configure everything.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

by Erika Heidi
A “LAMP” stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we will install a LAMP stack on an Ubuntu 20.04 server.

Hello there,

The message you see is actually the index.html in the /var/www directory You can log in via ssh and modify it or simply add your domain name to the server and access the site/application using a domain name instead of the droplet/server IP.

You can check the LAMP stack page for more info and the LAMP tutorial we have as well. You can skip the LAMP install steps and go to the step of creating a virtual hosts:

https://marketplace.digitalocean.com/apps/lamp

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04#step-4-%E2%80%94-creating-a-virtual-host-for-your-website

Hope that this helps!
Regards,
Alex

by Erika Heidi
A “LAMP” stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we will install a LAMP stack on an Ubuntu 20.04 server.