5 ways to solve the ERR_ICAN_NAME_COLLISION error
ERR_ICAN_NAME_COLLISION – stands for name conflict. The browser is trying to determine the top-level domain name or incomplete site name. Usually, the DNS server is responsible for all these actions. If you cross administrative boundaries between private and public servers, an error may appear. Incorrect DNS result, incorrect domain name, other hosts file settings – all this provokes the appearance of ERR_ICAN_NAME_COLLISION.
Table of Contents
Why is there a name conflict ERR_ICAN_NAME_COLLISION?
The most common of all causes is an incorrect domain name. However, there are other sources of problems as well.
- Incorrect syntax, name in hosts file. One extra or missing letter, symbol can lead to inoperability of the record. As a result, the browser links to a non-existent domain and a name collision appears. Correcting the recording will help fix the problem.
- Extra spaces. Many sites often offer ready-made code for disabling Windows updates, some settings, and more. However, after copying the code snippet, there may be errors in it. The main and most subtle mistake is the gap. Yes, one extra space and the code may not work.
- There are permissions and proxies that interfere with domain settings. Often, such problems are caused by an incorrectly configured proxy server that bypasses the hosts file. In general, a proxy is not the most reliable way to connect, so it is better to refuse it.
Method 1: check the health of the hosts file
Before starting any corrective actions, you need to make sure that the hosts file is working. There can be a lot of errors, below are the main ones.
What to look at:
- File name. It should be called hosts, not host, and nothing else.
- File location. The working location of the file is only one in all versions of Windows as follows: C: Windows System32 drivers etc.
- The line “Type” in the display option “Table” is “File”. This indicates that it doesn’t have an extension, and it shouldn’t. If there is a different type, you need to create a new hosts. To make sure that the extension is missing, you need to select “Change settings” on the “View” tab in the “Parameters” item. Unselect the item “Hide extensions for registered file types”.
- Correct record of all file settings. The correctness of the syntax is a prerequisite for the operability of the file. All items must have an entry of type “0.0.0.0 a.ads1.msn.com”. First comes the IP and then the domain name.
There is a good way to check if the host file is working using the commands:
- Select “Start” through the PCM and select “Command line (administrator)”.
- Reset the old DNS data stored in the cache via the command ipconfig / flushdns…
- Enter the address of the page that appears in hosts, this will check if the redirection is working. This will help the sequential input of commands. ping example.com –n 1 and ping -6 ipvexample.com –n 1…
- The result in the console is the IP specified in the file? So the recording is working properly, the problem is not here. Otherwise, you should reset one more cache with the command nbtstat-r…
Method 2: Checking spaces
One extra space, even on an empty line between two entries, can break the file. The popular Notepad ++ will help check for such a problem. It is enough to enable the display of all symbols. If someone else’s pre-made recording is used, it will also have to be reviewed for incorrectly set spaces. End the file with an empty line.
Method 3: Checking and Editing the Registry
Windows uses the registry to retrieve various data, in particular the path to the hosts file. Perhaps there is an incorrect entry here and the system is looking for the file in the wrong place. Having found such an error, it is easy to fix it by manually editing the file. Some users generally report that they do not have suitable registry keys. To make it work, you need to create them.
Important! Before you start working with the registry, it’s best to create a system restore point. All registry manipulation is potentially dangerous. Even after creating a point, everything must be done strictly according to the instructions.
Algorithm of actions:
- Open the “Run” window using the Win + R keys, insert regedit and press Enter.
- Go to the specified registry branch – HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Tcpip Parameters DataBasePath.
- The last section contains the “Default” key, it should contain the entry C: Windows System32 drivers etc
Method 4. Creating a new hosts file with standard resolution
Having permission on an existing file is fraught with problems. Removing the permission also doesn’t always solve the problem. The best thing is to create a new file without permission and transfer all the contents of the previous file into it. Outdated hosts can be removed. There is one problem, by default Windows does not offer to create a file without permission, but there is a solution.
How to restore hosts:
- Right click on any place on the desktop and “Create” “Text file”.
- Open the created file with Notepad.
- Go through the “Explorer” along the path C: Windows System32 drivers etc.
- Find hosts, right-click on the file and select “Open with” – “Notepad”.
- Press Ctrl + A to select all content and then Ctrl + C to copy the entries.
- Go to a clean file, press RMB and select “Paste”.
- Close the old file and delete it, the system will create a new hosts itself.
- Open it again with notepad and paste the copied data from the previous file.
- Save content and close all windows.
- To restart a computer.
Method 5: check for proxy problems
The method works if the proxy is configured to bypass the hosts file. Maybe the problem is not in him, but it is definitely worth checking. Internet Explorer is used for this procedure.
- Hold Win and press R.
- Insert inetcpl.cpl and click on the “Ok” button.
- Open the “Connections” tab and in the “Configure local network settings” section click on “Network settings”.
- Check that the checkbox next to “Automatic detection of parameters. If this is not the case, the selection should be set.
- Make sure the problem has been resolved.
The listed actions often help not only with the ERR_ICAN_NAME_COLLISION error, but also with other network problems. In general, maintaining the cleanliness and correctness of the hosts file is a mandatory procedure for the connection to work properly.