How to Resolve 404 Nginx Google Redirection Error

The Google 404 Error nginx is one of the worst errors that can occur on your computer. This error basically prevents you from opening anything starting with or in some cases other websites as well. In most cases users start getting redirected towards other random sites in the beginning and after a while they can’t access Google or other websites and get a 404 error with nginx written below it.

This error is mainly occurred because of a malware. The malware basically changes your host files in your C Drive and makes them either inaccessible or read only. Most of the times your antivirus won’t be able to detect it so it is a lot harder to fix this problem.

Here are a few methods that are known to solve this issue for almost everyone. First try the Method 1, if that doesn’t solve the problem then try Method 2. If the problem is still there then try Method 3 or 4.

Method 1: Use Kaspersky-TDSSKIller and flush.bat

  1. Download Kaspersky-TDSSKiller Rootkit Malware Remover from here install it, run it and fix the files it finds. DO NOT REBOOT.
  2. Hold the Windows Key and Press R. Type notepad in the run dialog and Click OK.
  3. Paste the below lines in your Notepad.

@Echo on


attrib -h -s -r hosts

echo localhost>HOSTS

attrib +r +h +s hosts


ipconfig /release

ipconfig /renew

ipconfig /flushdns

netsh winsock reset all

netsh int ip reset all

shutdown -r -t 1

del %0

  1. Click FileSave As. Enter “flush.bat” in filename, select “All Files” in Save as type and select “ANSI” in Encoding.
  2. Close Notepad file and run flush.bat. It will restart your computer. If your computer asks to check or run a file after reboot then select cancel.

Method 2: Clear Cache and Cookies

Sometimes clearing cache and cookies for the past day might prevent this problem.

For Chrome:

  1. Open Google Chrome.
  2. Hold the CTRL + SHIFT + DEL keys simultaneously.
  3. And choose Clear Browsing Data.

For Firefox:

  1. Open Firefox
  2. Hold the CTRL + SHIFT + DEL keys simultaneously.
  3. Select “Everything” or “Past Day” from drop down menu and check “Browsing and Download history”, “Saved Form and Search History”, “Cache” and “Cookies”.
  4. Click Clear Now.

Method 3: Use Norton Power Eraser

  1. Download Norton Power Eraser from here
  2. Run the setup by Double-clicking NPE.exe and accept the license.
  3. After the installation is complete, open the Norton Power Eraser and select Scan for risks. Let it reboot after the scan.
  4. Select the Bad files from scan results and click fix.
  5. Check “Create System Restore Point” option before fixing the threats.

Your computer will restart at the end and that’s it. Check if the problem is solved.

Method 4: Manually fix the host files

  1. Click Start -> type notepad – Right Click notepad and choose Run As Administrator.
  2. Once you have the notepad open, Click File -> Open and get into the folder C:\Windows\System32\drivers\etc you may not see any files listed in there, so be sure to select All Files and then double click the hosts file to open it.

  3. Open your “hosts file” and go to this link and make sure your host file is the same as mentioned there. Once done, save the changes by doing CTRL + S and then reboot your PC/system.

Now open your browser and it should work fine.

Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to Resolve 404 Nginx Google Redirection Error

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested