i created droplet but when i tried to access to this ip http://138.68.91.86/ in my browser
i get this message “Please log into your droplet via SSH to configure your LEMP installation.”
i don’t know why i can’t access to index page in NGINX

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.

×
1 answer

This is only a bad formulation of message. It’s static message that you can see in /var/www/html/index.html.
Open it if editor you like, e.g.:

  • nano /var/www/html/index.html

Observe it and you will notice that message there.
If you change that file to:

Sample index.html
<html>
<body>
<p>Hello World!</p>
</body>
</html>

Save it and exit, go to Droplet and you shall see Hello World!

For changing files you will need to SSH and you can learn more about it here.

Submit an Answer