First, set you html page and start the apache2 service.
Now, configure the /etc/ettercap/etter.conf and set these 2 variables to 0.
/etc/ettercap/etter.conf
Third step, open the /etc/ettercap/etter.dns and set the domains you want to spoof.
/etc/ettercap/etter.dns
Now start an ARP spoof with ettercap.
Later than, go to plugins and double click the dns_spoof plugin.
This will not work if the website you are spoofing haves HSTS security.
Last updated 2 years ago