For testing purposes, periodically disable the / etc / hosts file. How to ensure that he remained in place, but did not work?
Open the file (this is for Ubuntu)
sudo nano /etc/nsswitch.conf
and from the line
hosts: files dns
remove the word files
hosts: dns
After this, the hosts file will be canceled.
I think, just rename the file by adding 1 character, for example.
Source: https://ru.stackoverflow.com/questions/338589/More articles:Redirect mail iptablesAnalog mod_rewrite Apache for NginxUsing SSD on hostingHow to install Ubuntu automatically?How to mount ISO images on Windows 7?How to remotely reinstall the server?Multiple OS on one computerAdministrationMigrating from MySQL to PostgreSQLBrowsing the Internet with Ubuntu ServerAll Articles