DAYS
HOURS
MINUTES
SECONDS
LEFT TILL OUR BLACK FRIDAY DEALS GO LIVE!
  1. Home
  2. Domains
  3. DNS Management
  4. The Different Types of Domain Redirects

The Different Types of Domain Redirects

What do a CNAME, Alias (Parked Domain), Domain Forwarding, and a 301 Redirect have in common?

Each of these methods can redirect a domain name to another place!

The functionality of these four methods is pretty similar, so we will explain these differences in this article.

What is a CNAME Record?

Also known as a Canonical Name, a CNAME Record can forward one subdomain to another. For example, if you want to forward news.domain.com to blog.domain.com, that can be done with a CNAME Record. This sounds simple but using CNAME has its ups and downs;

Pro: The URL in the browser remains the same; indicating that this is the correct method for setting up a subdomain on a 3rd party service, such as Zendesk.

Con: A CNAME can only point to one domain name, not to an IP address.

Many 3rd party services use CNAME records for domain validation, like Zendesk.
When setting up an account with a 3rd party service, you may be asked to create a subdomain and forward it to the specified URL; all of this can be done using a CNAME record.

Note: A CNAME can NOT be used to point to an IP address or to forward your old domain to your new domain (e.g.: olddomain.com to newdomain.com).
CNAMEs must be added to your Active DNS Zone. If you are using our nameservers, please contact our Support Team to add the requested DNS record or try to add it on your own via the DNS zone editor in our panel.

Note that using a CNAME also does NOT consume any hosting slots in your account.

More on the topic and how you can add a CNAME.

What is an Alias (Domain Aliasing)?

Domain Aliasing is much the same as using a CNAME however, it involves forwarding a new domain to your original domain.
For example, setting up newdomain.com as an Alias of olddomain.com will allow you to load the content of olddomain.com but the URL in the browser will remain newdomain.com until you click any link on the page.

This process is also known as domain masking, so if you read about domain masking somewhere – you’ll know what it is!

Domain Aliasing can also be used if you try to reach a nonexistent webpage on olddomain.com via the Aliased domain (newdomain.com), where it will show you the main page of olddomain.com. In this case, the nonexistent page on newdomain.com will load the olddomain.com home page instead.

Here are a few important notes on Domain Aliasing:

  • An Aliased domain cannot have an SSL Certificate installed just for the alias site. If you need your Alias to have an active SSL, you need to install it manually as a custom SSL certificate. Add the specific Alias to the add more options under Custom when installing an SSL certificate on the site that the alias is added to.
  • In order for the Alias to work, you must point the Aliased domain (newdomain.com) to the same nameservers (or at least the same A Record) as the original domain (olddomain.com).
  • Aliases CANNOT be used to point to specific IP addresses or to point to a specific page on another domain.
  • An Alias IS NOT the same as a 301 redirect; if you need to redirect a domain to another using a 301 redirect, this is not the correct way to do it.
  • The Aliased domain CAN have a separate mailbox.
  • If you want to set up Multisite WP Installation, the extra domains must be set as Aliases.
  • Aliases do NOT consume a hosting slot in your account.

Here you can check on how to set up an Alias.


What is Domain Forwarding?

Domain Forwarding is quite different from a Domain Alias; Domain Forwarding is closer to a 301/302 redirect however, it can only redirect to a page or a subdomain.
For example, with newdomain.com being forwarded to domain.com, subdomains will also be redirected straight to their counterpart’s webpage. This means that newdomain.com will redirect to domain.com, and newdomain.com/contact-us will redirect to domain.com/contact-us. Similarly, blog.newdomain.com will redirect to blog.domain.com.

Overall, this method grants more options than a Domain Alias.

Here are a few important notes on Domain Forwarding:

  • Using Domain Forwarding, you can redirect your domain to a certain page; newdomain.com could forward to domain.com/newpage if you so choose.
  • Domain Forwarding is also SEO-friendly and highly recommended if you have moved your website to a new domain.
  • If WPX is not your domain registrar, then you must set up Domain Forwarding with your current domain registrar.
  • Some domain registrars offer Domain Forwarding with masking, but not many do so.
  • With Domain Forwarding, it’s possible to use a mail service however, this is not possible with WPX Hosting. You will have to hire a 3rd party mail service and contact us to set its DNS records correctly.
  • If we are your domain registrar, keep in mind that not all options are available within the Domains menu on your Hosting Dashboard. If you need something to be set specifically, all you have to do is to contact our Support Team with your request.
  • Note that this option also does NOT consume a hosting slot in your account.

More on the topic and how you can add a Domain Forwarding.

What about 301 .htaccess Redirect?

So, what can be done with a 301 .htaccess Redirect? Well, everything!

There’s nothing that a 301 .htaccess Redirect can’t cover thanks to the flexibility (and complexity) of .htaccess.

Via the .htaccess file, you can set any viable option for Domain Forwarding – except for domain masking!

Using this method, you can set a specific page to point to an IP address. You can also redirect an entire website to another and even exclude single or multiple pages! The reverse option is available too; you can redirect only 1 or 2 pages to another website if you want to.

To set a 301 .htaccess Redirect, the website must be added to your Manage Websites menu of your Hosting Dashboard. This is the only option that consumes a hosting slot in your account.

If you want to know how to generate and add a 301 redirect.

If you have any other questions on the topic, don’t hesitate to contact the WPX Support Team via live chat (use the bottom right-hand widget) and they will respond and help within 30 seconds or less.

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support