How to set custom error pages (404, 403, 500, 503)
When a page does not exist or an error happens, visitors see a plain error page. You can show your own page instead, with your design and links back to your site.
Before you start
Create the page as a file in the website's folder, for example 404.html in public_html, with File Manager (section Files) or by uploading it.
Steps
- Log in to the control panel (
https://your-server:2083). - Open Redirects in the menu (section Domains) and scroll to Custom error pages.
- Website — choose the domain.
- Error — choose Forbidden (403), Not found (404), Server error (500) or Unavailable (503).
- Page (empty = default) — the page's path on the website, for example
/404.html. - Click Save. The message Error page saved. appears and the page is listed in the table.
Repeat for each error and website.
Go back to the default page
Choose the same website and error, leave Page (empty = default) empty and click Save.
Good to know
- The path is relative to the website, not to your home folder:
/404.html, notpublic_html/404.html. - Use a static page (
.html). Avoid a PHP page for Server error (500): it may fail for the same reason as the rest of the site. - Error pages are set per website. Subdomains and addon domains need their own.
Common questions
Can I use a WordPress page as the 404 page?
WordPress shows its own 404 page for missing addresses already. A custom error page here is for websites without such a feature, and for errors the application does not handle.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to redirect a domain or page (301 or 302 redirect)
Send visitors of a page or a whole website to another address with a permanent (301) or temporary (302) redirect, optionally keeping the rest of the path.
- How to password-protect a folder or website
Ask visitors for a username and password before they can open a folder or a whole website, add more users, and stop shared passwords with leech protection.
- Domain document root explained (and how to change it)
What a domain's document root is, which folder each domain, subdomain and alias uses by default, and how to move a website to another folder.