Managed WordPress Help

Why use a temporary domain name with Managed WordPress?

Note: While using a temporary domain, you will have mail delivery issues due to no Sender Policy Framework (SPF) record being set in the DNS. When doing any kind of mail test, we recommend using a real domain name with the appropriate SPF record in place.

When you set up Managed WordPress sites, you're given the option to use temporary domain names. This lets you view and work on your sites without changing your domain names' DNS settings. In other words, it lets you keep your existing site live while you work on a new one.

Temporary domain names are necessary because of the way WordPress itself handles its internal links and file structures — it uses absolute instead of relative paths. This means that instead of using links relative to the domain you're loading, which look like this:

<a href="/directory/file.extension" />link text</a>

...It uses absolute links that reference a specific domain name, which look like this:

<a href="">link text</a>

When the domain name in the absolute link doesn't point to the account you want, it can't find the resources at the URLs it expects. So, when it tries to load files using the paths WordPress has created, which are absolute and use the domain name itself, it can't find them because the domain is pointed elsewhere. In essence, it breaks the site.

By using a temporary domain name, though, we provide a tool to build out or preview your sites without having to change their domain names' DNS settings. WordPress thinks the temporary domain name is the domain name we're going to use, so the absolute paths it creates are Web-accessible and load the appropriate resources to make the site work.

You'll know that they're using a temporary domain name because we leave a persistent message in the WP Admin panel notifying you:
Select the add domain link

Related steps

  • Once you're ready to move your DNS over, change your domain and we'll take care of everything to make sure your sites work.
  • If your domain is registered somewhere else, you'll need to know what IP address to use when updating the DNS for your domain.

Share this article