Adding Domains & Subdomains

From DreamHost
Jump to: navigation, search

Overview

There is no limit to how many domains/subdomains you are able to add to your DreamHost account with shared, VPS, or Dedicated hosting. This wiki explains how to add the domains to your panel.

Note2 icon.png Note: This wiki does not apply to DreamPress as you are only able to add one domain per service with that plan. You can read more about it here:


FAQs for adding domains and subdomains

How do I add a new domain or subdomain to my account?

To add a new domain or subdomain, log into the panel and follow these instructions:

  1. Go 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.
    02 Adding Domain Subdomain create domain.fw.png
  3. Next to the following fields:
    • Domain to host: enter the name of the domain or subdomain you wish to add.
    • Run this domain under the user: select a user who owns the files for this domain (you can also create a new user here).
    02 Adding Domain Subdomain save domain.fw.png
  4. Click the blue Fully host this domain button to save your changes.

For information on how to allow somebody else to manage this new domain or subdomain, visit the following wiki:

Note2 icon.png Note: If you get the following error message:
You can't add that domain: you must add the parent domain example.com to your account before adding a subdomain to it.

it means that the second-level domain is not yet in the system. A subdomain can only be created if its second-level domain is created first (example.com) – even if you don't plan on hosting the second-level domain here at DreamHost.


Do I have to create a new directory if I add a domain?

No, you do not.

A new directory will automatically appear (in the name of your domain) in your users directory within fifteen minutes of adding the domain. You don't need to create a new directory yourself.

When somebody visits your website, the configuration files for our web server tell it to go to the new directory. When you add a new domain and specify its directory, the panel adds the necessary lines to the necessary config files on the web server. There is no need to for any other configuration other than adding the domain in your panel.

How much is it for an extra domain?

All hosting plans at DreamHost (excluding DreamPress) allow an unlimited number of domains and subdomains.

If you want to host an entirely new domain, you can register it on the (Panel > 'Domains' > 'Registrations') page or through any other domain registrar (although, remember that registration costs may vary).

Does an extra domain have to point to the same place as the original domain?

No, but it can if you'd like it to.

It can point to your existing site, or it can point to an entirely different directory. When adding the domain in your panel, you get to decide where it points.

Does an extra domain get its own storage space, login, email aliases, and so on?

Your extra domain will get its own email addresses.

You can also use the same username as your main domain, or you can create a new username. All web files for the domain are stored under the user you assign to it. But, please note that the amount of space allotted depends on your hosting plan. For example, when you purchase a VPS plan you must choose how much disk space you’d like the user to have.

You can view more information about VPS plans here: