problem in my droplet

October 27, 2016 742 views
DigitalOcean Ubuntu 16.04

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

1 Answer
xMudrii October 27, 2016
Accepted 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.

DigitalOcean Droplets are managed using a terminal and SSH. SSH is an encrypted network protocol for remote server login and command execution. It is the standard method used for accessing and interacting with Linux servers. This tutorial shows how to connect to a DigitalOcean Droplet for the first time by using the OpenSSH client.
Have another answer? Share your knowledge.