Redirect to a Domain

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.


For encryption on the same Domain http -> https use a .htaccess file and add the folowing:


RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^(.*)$$1 [R=301,L]

Schreibe einen Kommentar