At this point, you have done the work to migrate your website to Inmotion Hosting. The last step before taking the website live on our servers is to test your website. To do this, you will need to modify your hosts file on your computer.

How does a hosts file modification work?

When you visit your-wordpress-site.com in your web browser, you computer must first figure out which web server to contact to retrieve the webpage. It will find this information out by asking a nameserver. Think of a nameserver as the phonebook for websites. If you need to know someone's phone number, you would find this information in a phonebook by looking it up. You computer does the same task, however instead of using a phonebook it will use a nameserver.

If your computer asks the nameserver where your-wordpress-site.com is located it will retrieve the location of your previous host, HostABC. Since this will display your live site, we cannot use this method without first modifying the hosts file on the computer. A Hosts file overrides the computer looking at the phonebook, and instead tells the computer where to go to retrieve the website by using a specific IP address (which would be the IP address associated with your account with InMotion Hosting). This change to the hosts file will only affect the computer that you modify. Any other visitors to your website will be directed to your site on HostABC. 

How to test using a hosts file modification?

 For more information regarding modifying your hosts file, please see either of the following links:

Windows 

Mac 

After you have tested your website on InMotion Hostings server, you can be reassured that when you change the domain's nameservers there should be little or no issues with your WordPress website after the move. 

If you missed our previous article, please see the Configuring WordPress After a Migration tutorial. For more information on this course please visit Migrating your Existing WordPress site to InMotion Hosting

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2230
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5653

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!