Replies: 4 comments 2 replies
-
|
yes, we need in some cases to edit domain name without delete the site already created. we hope in the next release we can see this feature, a big boom! Now for change domain name, I must delete and recreate the site again. |
Beta Was this translation helpful? Give feedback.
-
|
Adding the corresponding domain name or sub domain name in the vhost file can be achieved. If you are unsure, you can send the text to chatgpt for modification |
Beta Was this translation helpful? Give feedback.
-
|
The honest answer is that CloudPanel doesn't have a first-class "rename domain" operation — the Aliasing (adding additional domains to an existing site) — supported in the Frontend Area:
That's it for the alias use case. The site keeps the original site user, docroot, and DB — extra hostnames just route to the same nginx vhost. Real rename (the primary domain changes) — no UI flow, but a workable sequence:
The fully-clean way is still delete + re-add if you can afford the downtime — that's the only path that touches every CloudPanel-managed file consistently. The vhost-edit path above works but you're effectively maintaining the site outside of what CloudPanel knows about, so the next time you (Editing the vhost on a ChatGPT-suggestion as the only step misses the cert, the DB rewrites, and the template-overwrite trap — that's why it tends to leave sites half-working.) |
Beta Was this translation helpful? Give feedback.
-
|
You could use this script to recreate the site at another domain: https://github.com/7heMech/clp-stager |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there's a way to change the domain name or add aliases of a site without deleting the whole site?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions