Viewing your site with a dreamhosters.com subdomain before changing DNS

There are two ways you can use a dreamhosters.com subdomain to view your site at DreamHost before pointing your DNS to DreamHost.

  • Option #1 — Upload your site to DreamHost, then use the dreamhosters.com subdomain to 'Mirror' your actual site
  • Option #2 — Uploading your site directly to the dreamhosters.com subdomain

Option#1 is recommended as it's a more robust solution for most websites.

Option#2 is a quick solution for less complex sites, but this option is not compatible with CMS applications such as WordPress without extra work. 

This article explains how to view your site before pointing your DNS to DreamHost by using a dreamhosters.com subdomain. For another option on how to view your site at DreamHost before pointing DNS, view the following article:

Option #1 — Viewing your site via a dreamhosters.com 'Mirror'

For temporary web viewing, you are able to add a subdomain of dreamhosters.com on your (Panel > 'Domains' > 'Manage Domains') page. For example, if your site is named example.com, you can set up a dreamhosters.com subdomain such as example.dreamhosters.com. Then, set that dreamhosters URL to MIRROR your primary website.

In the example below, your site is named example.com and the dreamhosters subdomain is named example.dreamhosters.com:

  1. Open your (Panel > ‘Domains’ > ‘Manage Domains’) page.
    01 DNS viewing site.fw.png
  2. Make sure your domain is set up as Fully Hosted.
  3. Upload all website content from your old hosting company to your site at DreamHost (example.com). View the following articles that explain how to upload your website files, database, and email. 
    01 Adding Domain Subdomain.fw.png
  4. Click the Add Hosting to a Domain / Sub-Domain button found at the top of the page.
    The Manage Domains page opens where you can make various changes to your settings:
    03 DNS viewing site.fw.png
  5. Scroll down to the Mirrored section and fill in the two fields:
    • Create the mirror at: Type in the dreamhosters.com address you wish to use. In this case, you’d type in "example.dreamhosters.com".
    • Mirror this site: Select the name of your primary domain to be mirrored.
  6. Click the Mirror this domain button to complete the setup.

Waiting for the DNS to update

It may take up to 6 hours for this newly-created mirror to update, but once it does, you'll be able to view your domain at DreamHost (example.com) using the mirror at example.dreamhosters.com.

If you confirm the site looks and operates as it should, you are prepared to point your DNS to DreamHost. When you are ready to point your DNS, visit the following article pages which provide full instructions:

Do not try to visit your site at DreamHost by its IP address, as the IP address is for the server, not the website. If you visit the IP, you’ll see a Site Not Found page which you can read about here:

Option#2 — Uploading your site directly to the dreamhosters.com subdomain

If you do not want to create a mirror site, you an just upload your website directly to the dreamhosters.com subdomain. This is fine for sites that are not built using a Content Management System (like WordPress). This is only recommended if your site does NOT have any hard-coded URLs (absolute links).

For example, let's say your site is example.com and you've uploaded the contents to example.dreamhosters.com. If your site contains absolute links (that point to example.com), when you click on links at example.dreamhosters.com, the links will take you to the current live site of example.com.

For this reason, uploading your site directly to a dreamhosters.com subdomain is only recommended for more simple sites that do not use absolute links.

A note about using dreamhosters.com with a CMS

Some Content Management Systems (CMS) like WordPress have the domain name stored as a setting in the sites configuration file.

You can upload your site to a dreamhosters.com subdomain, but in order for the links to function (as you're testing the site), you’ll need to update the URLs in the database to the new example.dreamhosters.com URL.

Visit this link at WordPress for further details on how to move the site to a new URL:

Once you've tested and confirmed your site is working at the example.dreamhosters.com subdomain, you can migrate it to your actual site (example.com) at DreamHost. But, you'll once again need to update the URLs in the database and change them from example.dreamhosters.com to example.com. Only after the URLs have been updated should you point your DNS.

Viewing your MySQL database before DNS change

If you need to access a MySQL database before DNS changes, you can do the same thing by using a "temporary" MySQL host arrangement.

Visit the following article for more information:

See also

Did this article answer your questions?

Article last updated .