Changing the URL

Hi folks :wave:

What’s the correct way to change the installed URL of Ghost? I have just installed it at Digital Ocean, and had to use the IP to get it to set up correctly, and now I’d like to change the URL. Is there an easy way to do this either in Terminal or via editing a file and FTPing it?

Thanks in advance.


ghost config url


What does bring up for you?

  1. ghost config url
  2. ghost setup nginx ssl (optional, but recommended)
  3. ghost restart for it to take affect.

I had the exact same issue.

Not only did I want to change from old.url to new.url - I also wanted a 301 permanent redirect so as to not lose any SEO juice.

I got answers on this forum and on DigitalOcean - and I documented the full walkthru here:

Hope this helps.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.