Domain name switch

Discuss

I want to change the domain name for an existing YunoHost instance and I’m unsure about the correct migration order.

Current setup:

  • Two separate server packages from two different providers
  • domain.old is registered together with a webhosting package I want to cancel
  • DNS for domain.old currently points to my YunoHost apps running on a VPS
  • The webhosting package is handling the subdomains, which are linked to apps on the YunoHost VPS

To avoid downtime and make the transition easier, I thought about registering a completely new domain (domain.new) and migrating everything gradually.

My current idea:

  1. Update YunoHost domain settings
    domain.olddomain.new

    • Would this temporarily break connections or certificates?
  2. Update DNS settings at the registrar / ISP
    Point domain.new to the VPS

    • Will services continue working normally after propagation?

What would be the recommended order of operations for a smooth migration with minimal downtime?

Thanks :slight_smile:

Add domain.new to yunohost

Update dns zones as recommended by the diagnosis

Wait for the propagation

Generate certificates

Move all your apps to the new domain (some apps do not support url change, you may have to manually move them, but they are few)

You can install a redirect app on old domain to forward to the new one or simple html app with notice about domain change and link to the new domain

great, thanks for the info!