You want to redirect a Domain to a new Site/Domain and don't have to edit the the CName or A entry, because you're having a GUI, there are a few this to look out for.
If the old domain was SSL encrypted you should redirect also to an https encrypted site. Otherwise it's possible users get an error message.
![Weiterleitung_ssl_https_fehler Weiterleitung_ssl_https_fehler](https://digital-nomad.me/wp-content/uploads/2023/05/Weiterleitung_ssl_https_fehler.jpg)
For encryption on the same Domain http -> https use a .htaccess file and add the folowing:
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]