DNS spoofing(MITM)

Hi, I’m at the MITM - dns spoofing module of “complete ethical hacking course”
zaid said input commands:

  1. service apache2 start
  2. " go to browser and type ip address which will direct you to /var/www/html/index.html, which contains (hehehe)

i did all that but when I input my ip address on my browser I was redirected to a website that says " wifi-lock.com and asks for username, password…

it should direct me to the “heheeh” file… Please help

Hi UySieng,

This website gets installed when you install mana, you can reset Apache 2 to use whatever you put in /var/www using the following command:

cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/

And delete the browsing data from the browser (history, cookies ….etc).