To clear the DNS cache on Windows, follow these steps: After you clear your DNS cache, your computer will query nameservers for the new DNS information. If you encounter a 400 Bad Request error codes, you may need to clear your DNS cache. However, when you are developing a web site or configuring domain settings, your computer's DNS cache can get in the way, preventing you from accessing the corresponding website. Normally this is not a problem, and accelerates browsing experience. Your Domain Name System cache( DNS cache ) stores the locations (IP addresses) of web servers that contain web pages which you have recently viewed.
If you're still getting the 400 Bad Request error it's time to go for next step. Once you're sure the URL is correct, try to access it again in the browser. Specifically, check for extra, typically non-allowed characters in the URL like a percentage character (%). Also, make sure they're separated with forward slashes. Check spelling, hyphens, page extension, etc. It can be very easy to include unwanted characters in the URL while entering it manually in the browser.
This error appear differently on different websites like the following: In most cases, the problem is on the website itself, and there's not much you can do about that. It might be a malformed request syntax, invalid request message framing, or deceptive request routing. There are a number of different causes for a 400 Bad Request Error. Therefore, it prevents the website from being properly displayed. The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method. It means that the request itself has somehow incorrect or corrupted and the server couldn't understand it.
The 400 Bad Request error is an HTTP status code indicates that the request you sent to the webserver was malformed, in other words, the data stream sent by the client to the server didn't follow the rules.