Mkusa
JF-Expert Member
- Dec 14, 2010
- 548
- 209
Guys,
Sometimes unapofungua google, unaweza ukakutana na hii message
404 not found, this is only kwa Gooogle tu while other sites zinafunguka fresh including Jamiifroums.
This is the solution
Issue
When trying to access a website, the following error message appears:
404 not found error nginx
The reason for this could be that the host file has been hijacked.
Solution
Issue
When trying to access a website, the following error message appears:
404 not found error nginx
The reason for this could be that the host file has been hijacked.
Solution
Note: There are cases when you may get an error: 'The system cannot find the file specified'.
The reason for this is that your host's file may have been deleted and your computer may use a backup file called hosts.old or hosts.backup which may have been hijacked.In such cases you are advised to replace hosts with hosts.old in every command.
127.0.0.1 localhost -XP
::1 localhost -vista and windows 7
Note: There are cases when you may get an error: 'The system cannot find the file specified'.
The reason for this is that your host's file may have been deleted and your computer may use a backup file called hosts.old or hosts.backup which may have been hijacked.In such cases you are advised to replace hosts with hosts.old in every command.
127.0.0.1 localhost -XP
::1 localhost -vista and windows 7
·
Note:
Hii inaweza kuwa applicable for any other site.
Enjoy
Sometimes unapofungua google, unaweza ukakutana na hii message
404 not found, this is only kwa Gooogle tu while other sites zinafunguka fresh including Jamiifroums.
This is the solution
- d 7:
- Click Start and type cmd in the search field
Issue
When trying to access a website, the following error message appears:
404 not found error nginx
The reason for this could be that the host file has been hijacked.
Solution
- d 7:
- Click Start and type cmd in the search field
Issue
When trying to access a website, the following error message appears:
404 not found error nginx
The reason for this could be that the host file has been hijacked.
Solution
- For XP:
- Click Start > Run and type:
- For Vista ank and select Run as Administrator
- Then enter these commands one by one (press enter after every command):
- Command 1:
- cd c:\windows\system32\drivers\etc
- Command 2:
- cacls hosts /p everyone:f
- Press Y then Enter
Note: There are cases when you may get an error: 'The system cannot find the file specified'.
The reason for this is that your host's file may have been deleted and your computer may use a backup file called hosts.old or hosts.backup which may have been hijacked.In such cases you are advised to replace hosts with hosts.old in every command.
- Command 3:
- attrib hosts -s -h -r
- Command 4:
- notepad hosts
- This command pops up a notepad, now remove unwanted entries below this line
127.0.0.1 localhost -XP
::1 localhost -vista and windows 7
- This link shows how a clean host file should be: How can I reset the Hosts file back to the default?
- Press Ctrl+S to save the notepad
- Command 5:
- attrib hosts +s +h +r
- Close the command window. Check your browser now.
- For XP:
- Click Start > Run and type:
- For Vista ank and select Run as Administrator
- Then enter these commands one by one (press enter after every command):
- Command 1:
- Command 2:
- Press Y then Enter
Note: There are cases when you may get an error: 'The system cannot find the file specified'.
The reason for this is that your host's file may have been deleted and your computer may use a backup file called hosts.old or hosts.backup which may have been hijacked.In such cases you are advised to replace hosts with hosts.old in every command.
- Command 3:
- Command 4:
- This command pops up a notepad, now remove unwanted entries below this line
127.0.0.1 localhost -XP
::1 localhost -vista and windows 7
·
- This link shows how a clean host file should be: How can I reset the Hosts file back to the default?
- Press Ctrl+S to save the notepad
- Command 5:
- Close the command window. Check your browser now.
Note:
Hii inaweza kuwa applicable for any other site.
Enjoy