WiFi works on my Laptop.but not on my iPhone?

I've done what I could to see what the problem was. I "Forget this network" on my iphone under wifi settings and tried to reconnect and nothing. Interestingly, At the beginning of connection, FB, Google and some random sites will go through but others won't. I don't understand what the issue could be? Thanks

This happened to me about a year ago. I don't know how I fixed it, but I would suggest contacting apple.