I would like to change the domain name. I have deployed my app successfully which includes a PostgreSQL database. In order to change the domain name, I am required to shutdown the deployment.
My question is, will I be able to shutdown, change domain name, redeploy without loosing my database?
You can safely down, change the domain name, and redeploy - your PostgreSQL database will not be affected by this process. The database persists independently of the deployment configuration changes.
Just a quick note: Keep in mind that Neon databases automatically enter sleep mode after 5 minutes of inactivity, which may cause disconnections. Your client will need to handle reconnections when the database wakes up.
2 Likes
Thanks. Indeed this worked fine.