Ghost home icon redirects to http://localhost:2368?

September 22, 2015 995 views
Ghost Nginx Ubuntu

I recently migrated my Ghost install from one droplet to another. I exported content, copied the files out of the old droplet and into the new. The old droplet was a manually installed version of Ghost and the new was a one-click install from digital ocean. You can see this by going to the below link and clicking the site icon in the upper left.

Now, when I click the icon in the upper left corner of the page, the link is clearly wrong. I've checked the config.js file and updated the production section to be what I think is correct:

config = {
// ### Production
// When running Ghost in the wild, use the production environment.
// Configure your URL and mail settings here
production: {
url: '',
mail: {},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
debug: false

    server: {
        host: '',
        port: '2368'

Only thing I'm not sure about is if the server block should be modified to something else. Should I try changing that to my blog's domain and the SSL port 443?

  • ok, getting closer. realized that its not starting in production mode but in development mode. trying to change that but realize that in /etc/init.d/ there is no 'ghost' file that defines the service. service ghost restart works just fine though. didn't think that was possible. for the moment i'm just going to change the config in the development environment but would love to know what i'm missing here.

  • modifying the developer configuration hid the problem. still can't figure out why there is no ghost in init.d. thoughts anyone?

1 Answer

Ok, answered my own last question. Looks like the 1-click droplet is using Upstart by default, so instead of /etc/init.d/ the ghost.conf file is actually in /etc/init/. Good knowledge for the future.

Have another answer? Share your knowledge.