troubleshooting Question

Windows 7 - Hosts file not redirecting website to IP address

Avatar of sabecs
sabecs asked on
Windows 7
29 Comments2 Solutions917 ViewsLast Modified:
Hi,
I am trying to redirect my web browser to a specific IP address for my website during construction.
The content of my host files is shown below but I can't work out why its not working.

C:\Windows\System32\drivers\etc\hosts

123.456.56.232            www.mywebsite.com
123.456.56.232            mywebsite.com

If I open a command window in windows 7 and ping www.mywebsite.com it returns 123.456.56.232
So why won't my browser point to the location specified in hosts file?

Thanks in advance for your feedback..
ASKER CERTIFIED SOLUTION
Neil Russell
Solution Development Specialist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 29 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 29 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros