By fomu65
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.