meliodus
By:
meliodus

custom domain shows wrong page( 1 click ghost blogging)

November 1, 2016 123 views
Nginx Ghost DigitalOcean LEMP Ubuntu 16.04

Associated domain mapped : meliodus.org

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 meliodus.org

added a new block

server {
    listen 80;
    server_name www.meliodus.org;

    return 301 $scheme://meliodus.org$request_uri;
}

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

production url to meliodus.org

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 meliodus.org.

example : meliodus.org/sample , meliodus.org/author/sample, meliodus.org/ghost works

but meliodus.org 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.

2 Answers
meliodus November 1, 2016
Accepted Answer

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.

      http://meliodus.org?something
      

      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.

Have another answer? Share your knowledge.