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.

The examples in this article use the HTTPS protocol. For this to work, the domain you're redirecting to must already have an SSL certificate configured. If not, just use HTTP instead.

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 to If you visit, the URL changes to

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

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

Does redirecting work with https (SSL certificate)?

It's not possible to use the panel's Redirect option (described below) with an SSL certificate as this removes hosting from the domain. The only option is to create a custom file to redirect your site to https.

You can only redirect to another site that's already configured with an SSL certificate. For example: to

You should never use the panel redirect tool to redirect to your own site as it will not function correctly. For example: to

If you are looking for instructions on how to redirect your own website to its HTTPS URL, view the following article instead:

Redirecting a new domain or subdomain

  1. Navigate to the Manage Domains page.
    The Manage Domains page opens.
  2. Click the Add Hosting to a Domain / Sub-Domain button.
  3. Scroll down to the 'Redirect' section.
  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 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:
  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.

Creating a redirect to a subdirectory

If you need to create a redirect to a subdirectory of another site, make sure to add a trailing forward slash to the redirected URL. If you do not, the URL will not redirect correctly.

For example, if your site is '' and you want to redirect to a subdirectory of another site called '', make sure the redirect you create adds the trailing forward slash like this:


If you do not add the forward slash, any files accessed within that subdirectory will not load since the URL will be incorrect.

You cannot redirect to a subdirectory of the same website.

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'. View the following articles for instructions:

How long until the redirect is working?

Redirecting your site is the same as any other DNS change. This means the DNS must propagate first before you can see the changes online. In general, this shouldn't take any longer than 6 hours. You can keep track of when the new DNS records update in different locations at this site.

See also

Did this article answer your questions?

Article last updated PST.