After LAMP one click install, how to configure?

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:—-creating-a-virtual-host-for-your-website

Hope that this helps! Regards, Alex

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