How To Redirect Bing To Google Or Vice Versa

If you want to redirect Bing.com to Google.com or the other way around the process is simple. Here is how to do it.

On your computer there is a file called the HOSTS file. Whenever you visit a website your compute first checks to see if there are any instructions inside of the HOSTS file. If there are then it completes those instructions before connecting to the website you’ve requested.

You can place instructions into the HOSTS file. Instructions like telling your computer to load google.com when someone types in bing.com

  1. On your keyboard press down the Windows button and X at the same time.
  2. In the menu that appears click on Command Prompts (Admin)
  3. An elevated Command Prompt will appear.
  4. Type in: notepad %windir%\system32\drivers\etc\hosts
  5. Notepad will open the HOSTS file, go to the bottom of the file beyond the last line of text
  6. If you want to redirect to Google.com when someone types in Bing.com then simply type in: www.bing.com www.google.com
  7. If you want to redirect to Bing.com when someone types in Google.com then simply type in: www.google.com www.bing.com
  8. Save the HOSTS file and close notepad.

Now when you try to type in the one website it will open the other!

3 thoughts on “How To Redirect Bing To Google Or Vice Versa

  1. HOSTS maps ip addresses to host names, so the stated method is not likely to work, at least not for me on Windows 10. But this works:

    Open a command window and type “ping google.com” or “ping http://www.google.com

    You will get something like this:
    Pinging http://www.google.com [172.217.5.100] with 32 bytes of data:
    Reply from 172.217.5.100: bytes=32 time=11ms TTL=54

    The address you get (172.217.5.100 in this example) will depend on where you are AND it may change at some later time.

    Then edit the hosts file as described and add this line:

    172.217.5.110 bing.com http://www.bing.com

    This says “whenever bing.com or http://www.bing.com is requested, go to the address for google.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.