• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

503 Error

vmbelizario

New Pleskian
Hello,

I have a Plesk 12 on a Centos 6.6 Server. I have 3 domains on this server, and one of this domains only some pages give me a 503 error - and i cant find where fix It.

I tried to do:
Plesk Control Panel : Websites & Domains > mydomain.com > Web Server Settings > Put ErrorDocument 503 /custom_error.html

/etc/httpd/conf/plesk.conf.d/server.conf : add the ErrorDocument 503 /custom_error.html on virtual host of this domain

Edit the /var/www/vhosts/system/mydomain.com/conf/last_httpd.include file and add the line ErrorDocument 503 /custom_error.html on my domain

edit
/var/www/vhosts/mydomain.com/error_docs/maintenance.html file

edit
/var/www/error/HTTP_SERVICE_UNAVAILABLE.html.var file

create a
RewriteRule^.*$ https://www.mydomain.com/404-page/ [R=503,L]
ErrorDocument503 https://www.mydomain.com/404-page/

in .htaccess,
it worked, the error redirect to 404 page ( a nice page) but the home page redirect to 404 too.

Can someone help me ?
 
Back
Top