April 21, 2016 by Phanor Coll

So after hosting my blog on Openshift, I started looking around so I can change the url’s from to, and it’s just as easy as editing the config.js file in the root of the ghost instance.

I changed in the productions properties, the value for url

url: 'http://'+process.env.OPENSHIFT_APP_DNS',


url: '',

after changing the valur for url I got something like this

production: {  
            //url: 'http://'+process.env.OPENSHIFT_APP_DNS,
            url: '',
            mail: {},
            more code.....   

I’m cutting the rest of the file out for easy understanding.

After making this modification and restarting my application, everything worked out great!!

Go back Home