Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you have a VPS (VDS, Dedicated) server, then kill apache and install nginx,
in the latter in the server settings (conf file) you can simply specify:
server {
listen 80;
server_name hostname.com;
error_page 404 403 /404.html;
# and this is also possible:
#error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# root /var/www/hostname.com/;
# }
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question