Should I add 'www' to my SSL certificate?

DreamHost also recommends that you set up Secure Hosting which is consistent with your main domain's hostname, so that the URL either forces the www subdomain or removes it. You can choose to force or remove it on the (Panel > 'Domains' > 'Manage Domains') page.

  1. Click on the Edit link under the 'Web Hosting' column to the right of your domain.
    The 'Manage Domains' page appears for your domain:
    01 Add a domain.png
  2. Select which one of the three options you would like to use.
    If your domain is configured to be Fully Hosted, you'll see the following options:
    • Leave it alone: Both
    • Add WWW
    • Remove WWW
    If you choose to add or remove WWW, requests actually work both ways but are rewritten internally by the Apache web server configuration. Either is perfectly safe to use unless you have installed software on the domain which is configured internally to rewrite its URL to use the opposite of what you've selected in your panel. If that's the case, you must reconfigure your installed software (i.e., WordPress, Joomla, ZenCart, and so on) to use the URL you have chosen in the panel.

When you purchase an SSL certificate, you are given the option to specify your URL, in that you can choose to add the www subdomain or remove it. DreamHost SSL certificates provide an extra feature that allows them to work with both. However, it's recommended that you still set up your Secure Hosting for the correct domain/subdomain and not rely on this feature to catch any mistakes.

See also

Did this article answer your questions?

Article last updated .