Hello, saidesh
May I ask if you have pointed any domain name to your droplet or you’re just using the droplet’s IP address?
Also are you using Apache or Nginx? You can check the configuration file and see the virtual host for the IP block, because it’s most probably pointed to directory different from where the WordPress installation is.
If that is the case you can adjust the path to point to the WordPress installation.
In Apache the virtal host should be something like:
Listen 80
<VirtualHost *:80>
DocumentRoot "/www/example1"
ServerName www.example.com
# Other directives here
</VirtualHost>
On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations:
/etc/apache2/httpd.conf
/etc/apache2/apache2.conf
/etc/httpd/httpd.conf
/etc/httpd/conf/httpd.conf
In Nginx:
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
}
All NGINX configuration files are located in the /etc/nginx/ directory. The primary configuration file is /etc/nginx/nginx.conf
Let me know how it goes
Alex