Web pages won't load but network is working

I can't get web pages to load on my MacBook Pro. Airport connects with the router and ping tests work fine (on www.google.com) but web pages aren't loading in any browser in any user account. Internet works on all other devices.

Worked fine until yesterday when it just stopped working.

Update:

Very strange. I tried three routers and had the same problem with all of them. I then created a new admin user account on my Mac and the internet worked on it. When I returned to my own account - the internet was working again!

Any idea why this would happen? It seems creating a new admin account and then coming back solved it.


Deleting the wifi icon and shutting down fixed the same issue for me as well


I had the same problem; I tried everything and nothing seemed to work! Fortunately I solved the problem after many disappointments; I hope it works for you too.

Here's what I did: I went to network preferences, on the left side you can see a WiFi icon. I chose it and then deleted it, then turned off my Mac (I didn't restart it, I just turned it off) and then turned it on again. Then again I went to network preferences and clicked on the + to add a connection, then chose WiFi to create and then my problem was solved.


Did you flush your DNS cache?

In 10.6, and prior, the method was to issue

dscachutil -flushcache

from a Terminal prompt.

But on Lion and Mountain Lion it's different:

What works under 10.7 and forward is:

sudo killall -HUP mDNSResponder


Try looking in the System Preference/Network panel for your active network connection. Highlight the connection, click Advanced, then check the different tabs to see if any information is statically entered. Specifically, check under Proxies. Any sort of manual override under your account could be at fault.