I have 2 domains, let’s say domain A already has a website and domain B is only a domain. I want when I type domain B in the browser, it will lead to domain A but the address bar in the browser still says domain B.

Oh yes, please note the paragraph above, because it’s almost similar to domain forwarding, but what I’m going to do here is masking domains. The differences are:

Domain forwarding: The URL and display correspond to the domain to which it is redirected.

Masking domain: Fixed URL, the display will change according to the domain being redirected.

Previously I used cPanel, but it seems that the method is more difficult when compared to Plesk that I am currently using, but cPanel has an advantage, namely it does not delete the content of the domain you want to be directed to, in Plesk all domain content will be deleted.

The following is the configuration in Plesk :

  1. Log in to Plesk and click on Domains – the domain name you want to redirect to – Hosting Settings.

  1. On Hosting type, click Change and select Forwarding and on Forwarding type select Frame forwarding then click OK.

  1. Plesk will provide a warning about the forwarding, click Yes.

  1. Please try typing domain B in the address bar and make sure that the content of website A has appeared.

Good luck and thanks.