Ghost install - from IP to domain


I’ve installed the latest Ghost version and created a site using the IP instead of my domain name (I’m migrating from Wordpress).

Now that Ghost is ready to be my official CMS, how can I change from IP to the desired domain, besides the DNS changes?

I’m using Digital Ocean. When I ran the installation, I set the https certificate for the IP address. Do I need to run it again to have it for the domain?

Thanks! :-)


I’ve moved my ghost site from IP to domain.

But when I try to access my sitemap, I can’t do it from my domain, only from the address with the IP. Also, the listed pages and posts there are using IP instead of the domain name.

When I access /robots.txt using my domain, it shows the sitemap URL with the IP address too.

Please advise.