I have a working wordpress site on my ip address and I wanted to setup phpmyadmin on the server machine.
I could've sworn that when I had it set to
my.domain/phpmyadmin
I was able to access it from the internet by pointing it at my domain
Now that doesn't seem to be working.
I can ONLY access phpmyadmin if I change the server_name to localhost
If I try localhost/phpmyadmin (this also worked earlier today) it also doesn't work but localhost still does
I made sure I was sudo when I edited and saved
I've saved my /etc/nginx/sites-enabled/default
I'm restarting nginx after the changes
full config to come
I could've sworn that when I had it set to
my.domain/phpmyadmin
I was able to access it from the internet by pointing it at my domain
Now that doesn't seem to be working.
I can ONLY access phpmyadmin if I change the server_name to localhost
If I try localhost/phpmyadmin (this also worked earlier today) it also doesn't work but localhost still does
I made sure I was sudo when I edited and saved
I've saved my /etc/nginx/sites-enabled/default
I'm restarting nginx after the changes
full config to come