You can forward or mask a domain name to redirect it to another website. You can use either a 301 or 302 redirect.
When you redirect your domain name using a 301 redirect, it sends visitors to the specified site with a "301 Moved Permanently" HTTP response. The HTTP 301 response code tells user-agents (including search engines) the location has permanently moved.
Note: If you use a 301 redirect, you can remove the redirect or change it at any time.
A 302 redirect sends visitors to the specified site indicating a "302 Found" HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
A 301 redirect can provide a long-term solution by pointing your domain names to business or affiliate sites. A 302 redirect points your domain name to a temporary page while you build your permanent website. The specific redirects help the search engines distinguish how long your website can be viewed at the current location.