Custom error pages improve user experience when visitors hit broken links or server errors.
Configure error pages
- Go to Advanced Features → Custom Error Pages.
- Select the domain.
- Choose the error code to customize (404, 403, 500, etc.).
- Enter HTML content or upload a page — include navigation back to your homepage.
- Save the error page.
Design tips
- Keep messaging friendly and on-brand.
- Include a search box or sitemap link on 404 pages.
- Test by visiting a non-existent URL on your site.
DirectAdmin stores custom error pages per domain. CMS platforms like WordPress may override 404 handling with their own templates.