CiviCRM dashboard redirects

In a vagrant vm, opening CiviCRM redirects to ISP page.

Made sure php5-curl is installed via apt-get install.
In the linux box, appended to the file /etc/hosts the apache server names, example:

/etc/apache2/sites-available/donate.site.conf has

ServerName www.donate.site
ServerAlias donate.site

and my Vagrantfile has config.vm.network "private_network", ip: "101.101.101.10".

So my /etc/hosts should have

101.101.101.10 www.donate.site
101.101.101.10 donate.site

Voila. CiviCRM dashboard no longer redirects.