Home WebServer PanelDirectAdmin Customize Custom Error Pages on DirectAdmin

Customize Custom Error Pages on DirectAdmin

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

In this article, AZDIGI will show you how to customize some basic log display pages on DirectAdmin so that you can manually adjust the log display in a beautiful and highly personalized way. Please see the detailed article below:

Step 1: Access Custom Error Pages

First, login to your DirectAdmin => go to the Advanced Features section => click Custom Error Pages.

Custom Error Pages

In the Edit Apache Error Pages section, you will see some basic Logs as follows:

  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error

You can learn more about the details of error codes here.

Custom Error Pages

Step 2: Implement Custom Error Pages

I will give an example with the most basic and easiest error code in the process of website administrators, which is the 404 Not Found error, with other error codes when editing, you can do the same.

  • 404 Not Found

To edit the page to display 404 errors, at the Edit Apache Error Pages interface, select Edit as shown:

Custom Error Pages

This is the content of DirectAdmin default 404 Not Found text file:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL <!--#echo var="REQUEST_URI" --> was not found on this server.
<HR>
<I><!--#echo var="HTTP_HOST" --></I>
</BODY></HTML>

You can optionally edit the content to your liking according to the video.

After editing, the result will show as below:

Custom Error Pages

Thus, in this article, AZDIGI has shown you how to edit the log display page content on DirectAdmin simply with just a few steps. This helps you adjust the display of the log for your website to look more beautiful and creative.

You can refer to other instructions at the link below:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign