Add your own 404 page

If you want to create a custom 404 page for your website then you can do it in the way below.
Like we did for example:

Add your own 404 page


To set this up you can add it the following way via the control panel -> websites. You can use FTP or the file manager to create your own 404 page. If you follow our example literally the name 404.php can be used.


Add your own 404 page




After this your 404 report is live:



Add your own 404 page



If you want to do this directly in the web.config file, you can do this in the following way:



webServer>



/>
"index.php" /> Default.htm" /> " /> htm" />





errorMode="DetailedLocalOnly" existingResponse="Auto">
statusCode="404" subStatusCode="-1" />
"404" subStatusCode="-1" prefixLanguageFilePath="" path="404.php" responseMode="File" />

.webServer>