主机问题

linux服务器如何设置自定义404错误提示

您需要在 根目录下放置404.html 并在根目录下建立 .htaccess文件加入以下内容即可。
ErrorDocument 404  /404.html