How do I redirect one domain to another domain name?
There are few ways to redirect one domain to another:
-
Using Redirects in Site Tools
-
PHP or HTML redirects
Redirect your domains by creating a PHP or HTML index file in the document root folder of your domain. This article provides examples for both programming languages that will help you to complete that redirection.
-
Using CNAME DNS records
This DNS method will allow you to redirect your subdomains to other domains/subdomains (for example test.yourdomain.com to yourdomain.com).
To manage CNAME records, go to your Site Tools > Domain > DNS Zone Editor as long as your domain is pointed to your SiteGround hosting account.