Changed my hosts file but can't reach my migreted site.

Category: Team

gualdim
Asked:
2013-03-01 1:08 pm EST

Hits: 344
I've modified my hosts file to my domain be recognized to you server or nameserver but I can't get to my site.
I've rebooted my machine and all browsers on my machine lots of times.
I need to test everyting before changing DNS.
What do I need to do more?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

JacobIMH
Staff
9,968 Points
2013-03-01 3:11 pm EST
Hello gualdim, and thanks for your question.

If you've already correctly followed the steps in our guide on modifying your hosts file and if your domain was example.com you should have ended up with entries in your hosts file like this:


70.39.232.253 example.com
70.39.232.253 www.example.com



The IP address of the shared server your account is on is 70.39.232.253, so that's the IP you want to be sure you're using. I typically would recommend connecting directly to our server via FTP on that IP address and uploading a file such as test.htm.

Then trying to to access example.com/test.htm so that if that file pulls up, you know you're on the proper server. If for some reason you can't get your hosts file to properly point to the correct place, then you could also attempt to test your site using your temporary URL.

Let us know if you're still having any issues getting either to work properly.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
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!