Redirect website to a new domain

Hello,

Can someone please help me how can i redirect my old domain abc.com to a new domain abc.io? It should be a full redirect each and every page/link should be redirected to the same page of new domain.

Without knowing any details, here’s a crapshoot for an htaccess file in the root directory of your old domain:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^abc\.com [NC]
RewriteRule ^(.*)$ https://abc.io/$1 [L,R=301]

that (of course) assumes that you are using an Apache webserver.

links (and perhaps also pages) could also present a more complex problem. It all depends on what and how the website is using.

Some of this information should have been given in your OP but you avoided that rather Critical Information which you were prompted for.

performing a basic redirect is very easy in Virtualmin Web Configuration -> Website Redirect

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.