Skip to content

geekdecoder

Solving the Mysteries of Geek Code

geekdecoder
  • Services
  • Contact

Custom error documents in Plesk 12

September 20, 2018April 19, 2015 by The Geek Decoder

To add custom error documents in plesk 12, you will need to edit/add an .htaccess file

# cd /var/www/vhosts/domain.com/httpdocs/

# mkdir error_pages

# nano .htaccess
ErrorDocument 404 /error_pages/404.php
#cd error_pages

# nano 404.php

Not Found

Save the file and then test with a bogus URL

Categories Plesk
Post navigation
Add IP addresses on my Windows Dedicated Server with Plesk?
Stop firewalld on CentOS 7

Search for Articles

Geekdecoder Services

Geekdecoder offers technical services from migrations, server monitoring, server security and hardware rental for dedicated and cloud servers.
See Services.

EZOSHosting Web Hosting

See EZOSHosting Web Hosting Plans and Domain Services.

Featured Articles

  • Zpool Resources
  • Mail fails to deliver due to corrupt /etc/domain_secondary_mx_ips.cdb file
  • Great Article on Adding Proxmox Storage
  • Install Brave Browser on Ubuntu, MintDebian 9+, Ubuntu 14.04+ and Mint 17+
  • How to While List IP’s for Different Email Providers
  • Proxmox Resources
  • Proxmox on Debian Install fails – Errors were encountered while processing: pve-manager proxmox-ve
  • Mount NTFS file system in Debian
  • Where Proxmox ISO Stored
  • Disable TCP Port 135 and Avoid WannaCry Windows 10

Categories

PRIVACY   TERMS OF SERVICE   CONTACT
© 2021 geekdecoder • Built with GeneratePress