After i login to my phpmyadmin show 404 Not Found


#1

Following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-on-a-lemp-server

and created symbolic link between phpMyAdmin and site directory

sudo ln -s /usr/share/phpmyadmin/ /var/www/html/

i login to mysite/phpmyadmin (site correctly displays the login window) typing my password click login the site shows 404 Not Found

server {
listen 80 default_server;
listen [::]:80 default_server;

# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;

root /var/www/html/;

# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;

server_name 127.0.0.1;

location / {
    # First attempt to serve request as file, then
    # as directory, then fall back to displaying a 404.
    try_files $uri $uri/ =404;
}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
    include snippets/fastcgi-php.conf;

Thanks for helping, i really want to understand…


#2

What is the URL you see when you’ve logged in?