Recent version of Viber on Windows started displaying ads. It appeared in sidebar under contacts. There is no GUI option to disable.

How can I disable them?


I put ads.viber.com ads.aws.viber.com ads-d.viber.com s-bid.rmp.rakuten.com

into my c:\Windows\System32\Drivers\etc\hosts file. Since then I have no ads ;) Hope it'll help for you, too.

  • 11
    Confirming that it works.
    – Howie
    Aug 5 '17 at 8:02
  • 6
    Also works on macOS. File /etc/hosts.
    – icem
    Sep 30 '17 at 10:48
  • 6
    Live long and prosper! Nov 27 '17 at 21:47
  • 9
    Viber should thank you and put you on the payroll. I was about to uninstall.
    – Miro
    Jul 21 '18 at 22:02
  • 9
    New url added to prevent ads in the new Viber 11.4.0 ;) Sep 2 '19 at 8:40

I had to block extra addresses (discovered in Proxifier):


Also I had to open preferences and close. Then the effect was achieved.

  • Thank you. The ads were back but thanks to these additional addresses managed to get rid of them again. ARGH, nevermind, they're back again. What software did you use to find the addresses? Wireshark is sometimes a bit too verbose.
    – Axonn
    Sep 2 '19 at 7:04
  • That helped a lot! Thanks you wise sir!
    – PetarS
    Sep 5 '19 at 12:47
  • @Axonn I used Proxifier
    – Danatela
    Nov 6 '19 at 4:25

Owners of MikroTik routers who use DNS caching can create a static DNS entry on the router with Regexp field containing ads(\-d|\.aws)?\.viber\.com and Address field containing That will stop all devices on the network (phones, tablets) from showing those ads, not just a single PC or Mac computer like with the hosts file.

Owners of Ubiquiti EdgeRouter devices can do the same but will have to create three separate entries because EdgeRouter does not support regex. Same goes for any other router or firewall, better to block on the edge.

Not the answer you're looking for? Browse other questions tagged or ask your own question.