Question

My ip returns the ghost blog but my domain is returning "Please log into your droplet via SSH to configure your Ghost installation"?

Posted November 7, 2017 3.4k views
GhostUbuntu 16.04

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.

×
5 answers

Yes, the problem was I had to manually setup the domain config on nginx.

@ralphbolo what did you have to put in your domain config file for this to work? I am having the exact same issue and can’t figure out what I am doing wrong in my config file. Thanks

I tried that. I just ended up deleting my droplet, creating an Ubuntu one and manually installing Ghost. A few more steps, but it worked the first time through and is quite honestly, easier that using the DO one click app. I tried that multiple times and always had configuration issues with Nginx.

I just had this same problem. I created the droplet using DO’s ‘One-Click apps’ with Ghost 1.2.11 on Ubuntu 16.04. By default, Ghost installs using the IP address as the domain name. If you try and simply point your DNS to your droplet and then go to your domain, you’ll get the blue screen with the shark and “Please log into your droplet via SSH to configure your Ghost installation”.

Here’s how I fixed it -

First of all, I enabled backups on my droplet. I highly recommend it. It’s cheap, and it’s worth it x100. When I got to this screen, I started tinkering and got to the point where I wanted to go the route of @paulcimino and just start over. But I figured I would give it a shot first. So I restored my droplet to my earliest backup and removed the DNS for my domain.

Then, I SSH’d into the droplet as root and ran

vim /etc/nginx/sites-available IP_ADDRESS.conf

Change server_name IP_ADDRESS to server_name domain.com

Then run

vim /var/www/ghost/system/files IP_ADDRESS.conf

Change server_name IP_ADDRESS to server_name domain.com

Then run

service nginx restart
Submit an Answer