Temporary URLs: what are they, and what are they used for?

If you've ever launched a website, you've probably felt the frustrating lag time when you've done everything on your end, but your domain still isn't live. This is just where a temporary URL proves helpful.

A temporary URL is a preview link that your hosting provider gives you so you can see and use your website before your actual domain is connected. Instead of a clean address (yourwebsite.com) it looks something like this:

http://123.45.67.89/~username  
or  
http://server.hostname/~username

Not pretty, but it works.

Why Would You Want One?

There are a few common scenarios when a temporary URL can be your best friend:

  1. You are building a completely new site. Your domain isn’t connected yet but you want to make sure your design is correct, your plugins are working and nothing is broken before you go live.

  2. Pending DNS. Changing DNS settings isn't instant. It can take a few minutes to 48 hours to take full effect worldwide. A temporary URL lets you take a look at your site and confirm that the hosting setup is correct while you wait.

  3. You're changing hosts. Migrating a website is nerve wracking. A temporary URL allows you to test everything on the new server — performance, compatibility, missing files — before you flip the switch on your DNS.

  4. You are in development mode. Developers use temporary URLs all the time to build sites privately, share drafts with clients, or squash bugs without messing with the live version.

A Few Things to Know

Temporary URLs are excellent tools, but they do have limitations:

Conclusion

A temporary URL is like a backstage pass to your website. It’s not sexy but it gives you the freedom to test, fix and explore your site on your own schedule, without being held hostage to DNS timers or domain setup delays. Use it but don’t get too attached to it.