# How to migrate server with Ghost

**URL:** <https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591>\
**Category:** Developer help\
**Created:** [April 2, 2019, 10:43am UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591 "2019-04-02T10:43:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![giacomosilli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/giacomosilli/32/3403_2.png) [@giacomosilli](https://forum.ghost.org/u/giacomosilli)\
**Post date:** [April 2, 2019, 10:43am UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/1 "2019-04-02T10:43:23Z")

</div>

Hello,  
I want to change the server (VPS) what is the recommended procedure to perform the migration?

I install ghost on the new server, then import the database and transfer the domain, so as to avoid downtime (I hope)

The problem is that installing ghost with the command “ghost install” I will be asked for the domain name and installation of the certificates, which I will not be able to do because of the dns not yet transferred.

Can I complete the installation later without problems or should I transfer the domain first and then install ghost?

---

<div class="post-metadata">

**Author:** ![giacomosilli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/giacomosilli/32/3403_2.png) [@giacomosilli](https://forum.ghost.org/u/giacomosilli)\
**Post date:** [April 3, 2019, 8:05pm UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/2 "2019-04-03T20:05:41Z")

</div>

Any info?

---

<div class="post-metadata">

**Author:** ![dsecareanu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dsecareanu/32/413_2.png) [@dsecareanu](https://forum.ghost.org/u/dsecareanu)\
**Post date:** [April 4, 2019, 5:34am UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/3 "2019-04-04T05:34:33Z")

</div>

You should be able to install Ghost by using your current domain and certificates and only do the DNS switch when you’re ready with your migration (meanwhile you can point locally your DNS to the new server so you can work on it).

Other than that, the recommended way to migrate a Ghost blog is to export your content to json, move your content/images folder manually and then import the content json into the new installation. The team is working on an easier migration option as far as I know, but it’s not yet ready.

---

<div class="post-metadata">

**Author:** ![giacomosilli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/giacomosilli/32/3403_2.png) [@giacomosilli](https://forum.ghost.org/u/giacomosilli)\
**Post date:** [April 4, 2019, 8:16am UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/4 "2019-04-04T08:16:40Z")

</div>

> [@dsecareanu](#):
>
> You should be able to install Ghost by using your current domain and certificates and only do the DNS switch when you’re ready with your migration (meanwhile you can point locally your DNS to the new server so you can work on it).

How i install Ghost on new server with my current domain ? i’m using it on actual server

When i do “ghost install” it asks for domain and ssl

Do you mean, i have to install Ghost on new VPS with another domain, and after DNS propagation i change ghost url ?

---

<div class="post-metadata">

**Author:** ![dsecareanu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dsecareanu/32/413_2.png) [@dsecareanu](https://forum.ghost.org/u/dsecareanu)\
**Post date:** [April 4, 2019, 8:34am UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/5 "2019-04-04T08:34:36Z")

</div>

When Ghost asks for domain and ssl setup just use your live domain information. You will not be able to access the newly configured server as your DNS still points to the old server. But you can setup your computer DNS to point that domain to the new IP so you can configure it and move the data (assuming you already downloaded your content json and your images from the old server).

---

<div class="post-metadata">

**Author:** ![giacomosilli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/giacomosilli/32/3403_2.png) [@giacomosilli](https://forum.ghost.org/u/giacomosilli)\
**Post date:** [April 4, 2019, 4:17pm UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/6 "2019-04-04T16:17:56Z")

</div>

Well, but i’ll not be able to install SSL on newly configured server because DNS still points to old one, right ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [April 18, 2019, 4:17pm UTC](https://forum.ghost.org/t/how-to-migrate-server-with-ghost/6591/7 "2019-04-18T16:17:58Z")

</div>

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