Temporary URLs in WordPress

To use your Temporary URL with a WordPress installation, you will need to edit the Windows Hosts file to make your computer. The Windows Hosts file tells your computer to resolve a specific IP address when you try to load a specific domain. This will allow you to work on your WordPress site before pointing your domain's nameservers to your hosting and taking the site "live".

Run Notepad as administrator
In order to allow you modify system files, you will need to run Notepad as administrator. To run as administrator, find Notepad in your Start menu, or type "notepad" in to find it. Right click on the Notepad icon and choose "Run as administrator".

Locate and Open the Hosts File
Generally, the Hosts file can be found at c:\windows\system32\drivers\etc\hosts.

Edit Your Hosts File
You must add one line to your Hosts file to make your Temporary URL resolve to your domain. You will need to find your Temporary URL in the email you received with your cPanel login details when you created your account. Copy the IP address from the Temporary URL, and paste it in the first blank line in the Hosts file. Hit tab or space, then type in your domain name. It should look like this, where the IP address you copied replaces the one shown here and your domain replaces YourDomainHere.com:

198.49.74.98  YourDomainHere.com


Once you have created the line, save the file.


Windows 8
:
If you are using Windows 8, you will need to tell Windows Defender to allow editing the Hosts file. To do this, first open Windows Defender. You may need to type it into the search bar if you are unable to find it.

  1. Click Settings.
  2. Type in c:\windows\system32\drivers\etc\hosts.
  3. Click "Add".
  • 27 Users Found This Useful
Was this answer helpful?

Related Articles

How long after I sign up can I start building my site?

If your account is automatically approved, it will be created and ready for uploading within 15...

Where do I upload my files?

Your account has both non-web accessible space and of course your web accessible space. Your user...

What are some account basics?

We'll explain some basic procedures and steps to use your account. Username and Passwords:...

How do I upload my website?

Your site content will need to be uploaded into the "public_html" folder within your account's...

Is it a problem if I'm not in the US?

Not at all! In fact, we already have customers in countries all over the world.