How to redirect my own computer?

Like when you type www.google.com it will instead go to yahoo.com

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    Assuming you're on windows, you have to edit the hosts file.

    Location--

    Windows 95/98/Me: %windir%\

    Windows NT/2000/XP/Vista: %SystemRoot%\system32\drivers\etc\

    Add a line like:

    192.168.0.6 www.example.com example.com

    I'm not sure if:

    google.com www.yahoo.com yahoo.com

    would work correctly, you may have to look up the IP address of the website.

Still have questions? Get your answers by asking now.