Report this

What is the reason for this report?

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

Posted on September 22, 2015

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?



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.