Domain redirects are required if you want to redirect traffic from one domain to another domain. It is very easy to set up redirects with the help of "Redirects" in cPanel
Follow the steps below:
Log in to your cPanel and go to the home screen.
Click on the Redirects icon.

Under Type, choose whether the redirect should be Temporary (302) or Permanent (301).

Enter the source URL (the domain or page you want to redirect).
Enter the Destination URL (the URL where visitors should be redirected).
Click the Add button at the bottom of the page.
That’s it!
Your domain redirect has now been successfully created.