custom domain shows wrong page( 1 click ghost blogging)

Posted November 1, 2016 3.6k views
NginxDigitalOceanGhostLEMPUbuntu 16.04

Associated domain mapped :

My domain is suppose to show ghost blogging( 1 click app), instead it shows me an page saying :

Please log into your droplet via SSH to configure your Ghost installation.
Ghost on DigitalOcean Documentation

As far as i know all my configurations are ok. I logged into droplet using ssh, changed /etc/nginx/site-default/ghost server_name to

added a new block

server {
    listen 80;

    return 301 $scheme://$request_uri;

changed my ghost config /var/www/ghost/config.js

production url to

added A record @ pointing to droplet floating ip
added A record www pointing to droplet foating ip

all pages, admin panels etc works fine under the domain

example : ,, works

but page show an error page or you might say wrong page as described above.

I have tried from different computer, cleared all caches etc. Nothing work. Please help me guys.

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.

Submit an Answer
2 answers

Problem auto resolved with ctrl+shift+r and all the other devices started showing the correct page. I don’t know how and why. Previously it didn’t worked.

It appears your domain is no longer showing the “please log in” page. Can you share your solution in case others encounter the same problem?

In general, logging in via ssh the first time should make that page go away unless it was cached locally (if you’re still seeing it, this is likely the case). If you had to take other steps, let us know so we can get this addressed in the image.

  • Today i discoved that all my home computers, laptops and other devices using the same wifi, is actually showing the “please log in” page. Is there some wrong with my router? I tried to reset that too. It didn’t worked. All my other friends can see correct page. Do you have any other suggestion that i try on?

    • If it is all devices on your home wi-fi then it is almost certainly a caching issue. This could be on your router or on your ISPs network.

      While I cannot say for certain how to get this to be reset it should expire and get a new version after a time. In the meantime you can likely get around it in order to view the main page by adding a dummy query string to the URL.

      Where “something” is any random string. Your browser and the cache will see this as a different request than just accessing the domain directly and will cause it to make a fresh request with that string. Your web server won’t have any use for the string and should ignore it.