Home Guides Glossary

Why use a temporary domain name with Managed WordPress?

When you set up Managed WordPress Websites, you're given the option to use temporary domain names. This lets you view and work on your Websites without changing your domain names' DNS settings. In other words, it lets you keep your existing Website 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="http://domain.tld/directory/file.extension">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 Website.

By using a temporary domain name, though, we provide a tool to build out or preview your Websites 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 Website 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:

Temporary domain notice in WordPress

Once you're ready to move your DNS over (more info), all you need to do is follow the Change domain link, and we'll take care of everything to make sure your Websites work. We have more information about that in What happens when I change my domain?

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy