Question

Please log into your Droplet with SSH to configure the LAMP installation.

Posted May 1, 2021 153 views
LAMP Stack

I set up my Droplet with LAMP. My Probel is that if I type in the IP I just see the error Message:Please log into your Droplet with SSH to configure the LAMP installation. I already did everything the attached Guide says and I now have a https conntection, but I still donot know how to fix this.

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
1 answer

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 host:

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.
  • Thx for your help,
    I got a lot further. My only problem right now is that I can not change the standart file that is beeing executet. I allready followed the steps to configure my own .conf files, but it doen´t changes anything.

    • I got a aditional problem. For some reason I can still reach the Server IP adress, if the server is shut down. Additionally nothing changes if I cange the /var/www/html/index.html file.

      • Hello there,

        You might experience some weird browser’s cache issues. I will recommend you to check the default site using another browser when you make changes to the index.html file.

        Additionally, when you shut down the server you can try to ping the droplet IP in order to make sure that the server is actually powered off.

        Regards,
        Alex

    • Hello there,

      Are you trying to replace the default index.html file with another index file like index.php or you’re simply trying to just replace the content of the current index file?

      Can you share what exactly you’re trying to create as this can shed more light on what needs to be done?

      Regards,
      Alex