I can't access apple.com from my Macbook
I would run /System/Library/CoreServices/Network Diagnostics.app and isolate what isn't working on the Mac.

It's hard to guess based on the information you have edited into the question.