Check your router for DNS server configuration. I am using act broadband in india and i need to change the router settings. By default, it is configured to get DNS server configuration from ISP which is ACT Broadband. I changed it to manual and used google public DNS IP address 184.108.40.206
Now all the websites opening fine.