So you have a website on Domain A and you want to redirect all traffic including sub pages to Domain B. Eg. domain-A/contact > domain-B/contact

So what you would need to do is the following:

  1. Point Domain A at Domain B’s cPanel/Plesk server

  2. Add Domain A to Domain B’s cPanel/Plesk account as an addon/alias domain

  3. Create entry in .htaccess file on cPanel/Plesk server of Domain B to setup the redirect as follows

    #BEGIN Domain Redirect
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^domain-a.com$ [NC]
    RewriteRule ^(.*)$ https://domain-b.com/$1 [R=301,L]
    #END Domain Redirect
Was this answer helpful? 0 Users Found This Useful (0 Votes)