InMotion Hosting Support Center
This is archived and no longer maintained. Any information contained in this article may be out of date.

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 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 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:



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

You are viewing Section 1: Testing your WordPress website after Migration
Section 0: Fixing Image Links after a WordPress Migration

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

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2017-03-07 10:47 am


I have migrated the website to a linux cpanel from Godaddy and the website has started running from the new location HOWEVER all the images are broken everywhere in the website and WordPress dashboard also doesn't show any image (if i try to access/open them in Media tab). 

please help

Thank you 

10,285 Points
2017-03-07 3:53 pm
You will want to make sure that the change of location is reflected in the database. You can go through the database to correct the image links.

Post a Comment

Email Address:
Phone Number:

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

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!