How do I redirect my domain?

A "redirect" domain acts as a pointer to another domain. When accessing a web page on the redirected domain, the browser's URL is changed to the domain to which it is being redirected. When setting this up through the DreamHost panel, a 301 redirect is created automatically.

This article explains how to redirect a domain or subdomain at DreamHost.

To redirect a domain, you must either have an active hosting plan or the domain must be registered at DreamHost and point to DreamHost's nameservers.

How does the redirect work?

Any page you visit on your current site (the one being redirected) is forwarded to the page on the redirected site. For example, let's say you're redirecting example.com to dreamhost.com. If you visit example.com/contact.html, the URL changes to dreamhost.com/contact.html.

Does redirecting work for the www and non-www version of the site?

Yes. If you set up a redirect on example.com, it also will work for www.example.com.

Does redirecting work with https (SSL certificate)?

No. Redirecting only works for 'http' URLs. If you enable an SSL certificate on 'example.com' and visit 'https://example.com', you will be redirected to the 'Site Not Found' page.

Redirecting a new domain or subdomain

  1. Navigate to the (Panel > 'Domains' > 'Manage Domains') page.
    The Manage Domains page opens.
    01 Adding Domain Subdomain.fw.png
  2. Click the Add Hosting to a Domain / Sub-Domain button.
  3. Scroll down to the 'Redirect' section.
    03 Redirect step2.fw.png
  4. Enter the information in the following fields:
    • Domain to redirect – enter the new domain or subdomain you'd like to redirect elsewhere.
    • Redirect to URL – enter the URL to which you wish this new domain or subdomain to redirect.
  5. Click the Redirect this domain button to complete the set up.

Changing an existing domain or subdomain to redirect

  1. Navigate to the (Panel > 'Domains' > 'Manage Domains') page.
    The Manage Domains page opens.
    01 Domains Control Panel.fw.png
  2. Click the Edit button located to the right of the domain/subdomain under the 'Web Hosting' column.
  3. Scroll down to the 'Redirect' section.
    In the following example, the ‘Domain to redirect’ field is already populated with the domain you’re changing to a redirect:
    05 Redirect Existing Domain.fw.png
  4. In the 'Redirect to URL' field enter the URL where you'd like this domain to redirect.
  5. Click the Redirect this domain button to complete the setup.

Turning off a Redirect

To turn off a Redirect, you must change the hosting configuration to any other option such as 'Fully Hosted' or 'DNS Only'. A full list can be found on the following page:

See also

Did this article answer your questions?

Article last updated .