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 220.127.116.11
Now all the websites opening fine.