Question

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

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.

https://highgravityconsulting.com

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: ‘https://highgravityconsulting.com’, mail: {}, database: { client: ‘sqlite3’, connection: { filename: path.join(__dirname, ‘/content/data/ghost.db’) }, debug: false },

    server: {
        host: '127.0.0.1',
        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?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.