Certain websites not opening in mac
Initially, I tried these solutions. However, they did not work. 

The solution that worked: Removing the Google public DNS addresses from the DNS servers list. I had added them earlier for a VPN to work.