How to set up domain forwarding using alias in cPanel

How to set up domain forwarding using alias in cPanel. 

There are two simple steps you have to go through.

1. In cPanel go to the block DOMAINS and click Aliases. You will see Create new alias input form.

Add your "domainfrom.ext" then click Add Domain. CPanel will add your domainfrom.ext as alias.

Then click Manage Redirection and add "http://domainto.ext" to the redirect line and click Save.

2. Add the following rule to .htaccess file of your "domainto.ext".

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?domainfrom\.ext$ [NC]
RewriteRule ^ http://domainto.ext%{REQUEST_URI} [R,L,NE]

Now when someone click on domainfrom.ext in a browser, it redirects to the pages of domainto.ext.

You may specify exact page of your domainto.ext using the same url with domainfrom.ext