Current location - Quotes Website - Collection of slogans - How does iis set up 404iis configuration 404
How does iis set up 404iis configuration 404
How to set the page of website 404

Unable to set. Page 404 is the page returned by the server when the client browses the web page, or the server can't provide information normally, or the server can't respond, for unknown reasons. It is said that before the third technological revolution, the Internet was a large central database located in Room 404.

At that time, all requests were made by hand. If the file requested by the requester cannot be found in the database, or the requester writes the wrong file number, the user will get a return message: room.

404: File is not

Here it is.

The 404 error message is usually the page displayed after the target page is changed or deleted, or the page address entered by the client is wrong. People are used to using 404 as the error code of files that the server can't find. Of course, practical research proves that the legendary Room 404 does not exist. Set 404 the error page under.

Static 404 Error Page Setup

(1) Make a 404 page, 404.html or 404.htm, according to the actual situation of your website.

(2) Server/virtual host management settings, according to your own situation, choose "Use 404 pages under the root directory". If you can find the message type option, you should choose "file" or "default value" instead of "URL". If you can't find this "message type" option in the management background of the host provider's website, please contact technical customer service to modify it. This is a decisive step. This step must be operated well. If you can't find this message type in the background, don't set it yourself, because the return value must be 200 after you set it, so contact customer service in advance.

(3) Upload 404.htm to the root directory of the website and try it once to see if it is successful.

What does 404 mean?

The 404 code means "input error, the page to be queried cannot be found", which means that the server can't provide correct information or send information to visitors when users browse the webpage for unknown reasons.

Among them, the first 4 digits of 404 indicate that there is an error in the client, the last 0 digits indicate that you entered the wrong URL, and the last 4 digits indicate "NotFound", that is, the webpage cannot be found.

The main function of scientists in designing 404 pages is to remind users that websites can be opened but they can't find the pages they want to visit. In short, when page 404 appears, this webpage link becomes a "dead link".