Sometimes on Wi-Fi connections a strange problem occurs that you won't be able to open any website but google and google owned websites like youtube. However on wired devices all websites open without any problem. If you have already tried everything else like setting MTU value, flushing DNS etc and you are still having the same problem, try what worked for me like a charm.
Just disable the QoS service in your router settings. It worked for me after trying everything possible. This problem kept me annoyed for more than 2 months.