Talk to the NOC, IST hours — +91 75994 50220 support@bigdomainhost.com
Guide

How to fix 503 Service Unavailable

A 503 is the server saying "not right now", not "never". This guide explains what the code means, what you can do as a visitor, and how a site owner traces it to overload, limits, maintenance mode or a backend that has stopped.

Short answer: 503 Service Unavailable means the web server received your request but cannot handle it at the moment, usually because it is overloaded, has hit a resource limit, is in maintenance mode, or cannot reach the application behind it. It is meant to be temporary, and the server may send a Retry-After header saying when to try again. Visitors can only wait and reload; site owners should check PHP-FPM or worker limits, hosting resource limits, maintenance files and backend services.

What 503 Service Unavailable means

503 Service Unavailable is an HTTP status code. RFC 9110, the current HTTP specification, defines it as the server being unable to handle the request right now because of a temporary overload or scheduled maintenance, which will probably clear after some delay. The server may include a Retry-After header giving a number of seconds, or a date, after which it is worth trying again.

Two things follow from that definition:

  • Your connection worked. Unlike DNS or connection errors, a 503 is a reply. Your browser found the server, connected, and got an answer back. The answer was simply "I cannot serve this now".
  • It is supposed to be temporary. A 503 that lasts for hours is not a capacity blip any more; it is a fault that someone has to fix.

You may see it worded as HTTP Error 503, 503 Service Temporarily Unavailable, Service Unavailable: the server is temporarily unable to service your request, or, on WordPress, Briefly unavailable for scheduled maintenance. They are all the same status code with different default pages.

503 vs 502 vs 504

These three are often confused because they all appear when something behind the web server goes wrong. The difference is in what the front server experienced.

CodeWhat happenedTypical cause
503 Service UnavailableThe server chose not to serve the request, or could not hand it onOverload, resource or rate limits, maintenance mode, backend refused
502 Bad GatewayA proxy got an invalid or no response from the backendBackend crashed or closed the connection
504 Gateway TimeoutA proxy waited for the backend and gave upSlow queries, long scripts, backend hung

The lines blur in practice: nginx usually reports an unreachable PHP-FPM as 502, while Apache's mod_proxy reports the same failure as 503. So treat the code as a strong hint, then read the logs. Our guides to 502 Bad Gateway and 504 Gateway Timeout cover those two in depth.

If you are a visitor

A 503 almost always comes from the website's side, so there is little you can break or fix. Work through these in order; most 503s clear at step one or two.

  1. Wait a minute and reload. Short overloads and WordPress updates usually clear within a minute or two. In Chrome on Windows press F5, on a Mac press Cmd + R, and on Android tap the three-dot menu and then the reload arrow.
  2. Check whether it is down for everyone. Look at the site's status page or social accounts, or ask someone on a different network to open it. If it is down for them too, only the owner can fix it.
  3. Do a hard reload. A cached error page can stick around after the site recovers. In Chrome on Windows press Ctrl + Shift + R (or Ctrl + F5); on a Mac press Cmd + Shift + R. On Android, open the page in an Incognito tab to bypass the cache.
  4. Turn off your VPN or proxy. Some sites rate-limit by IP address and answer with 503 when one address sends too many requests. VPN exit addresses are shared by many people, so you may be paying for someone else's traffic. Corporate proxies can also generate their own 503 pages.
  5. Try another network. Switch between Wi-Fi and mobile data (Jio, Airtel, Vi or BSNL). Mobile carriers in India commonly put many users behind shared public addresses (carrier-grade NAT), so a per-IP limit on the site can trip for reasons that have nothing to do with you. If one network works and the other does not, a rate limit or a proxy is the likely cause.
  6. Come back later. If the site is in planned maintenance, the page may say when it will be back. Repeatedly reloading a struggling server does not help it recover.

Changing your DNS server, clearing all cookies or reinstalling Chrome will not fix a 503. Those help with errors like This site can't be reached, where the connection itself fails.

If you run the website

Start by confirming the code and who is sending it. From any machine with curl:

curl -sI https://example.com/ | grep -iE "^(HTTP|server|retry-after|cf-ray|x-cache)"

The server header tells you which layer answered: a CDN such as Cloudflare, nginx, Apache, LiteSpeed or your application. A cf-ray header means the response passed through Cloudflare; whether Cloudflare generated it or passed on your origin's 503 is shown on the error page itself, so compare it with a request made straight to the origin. Then work through the causes below.

1. PHP-FPM or application workers are exhausted

PHP-FPM serves at most pm.max_children requests at once. When all children are busy, new requests queue, and once the queue is full they fail. Behind Apache with proxy_fcgi this commonly shows as 503; behind nginx it is more often 502 or 504. Check the pool log and settings:

sudo grep -i "max_children" /var/log/php*-fpm.log
grep -E "^pm" /etc/php/8.3/fpm/pool.d/www.conf
sudo systemctl status php8.3-fpm

A warning that the pool "reached pm.max_children setting" confirms it. Raise the limit only as far as memory allows: divide the RAM you can spare by the average size of one PHP process (check with ps -o rss -C php-fpm8.3). If workers are busy because pages are slow, fix the slow pages, or every extra child just queues more slow work. The same logic applies to Node, Python or Java application servers with a fixed worker or thread pool.

2. Resource limits on shared hosting

Shared hosting accounts have per-account limits on CPU, memory, processes and entry processes, the number of PHP scripts that can run at the same moment for your account. When you hit one, the server refuses extra requests. Depending on the platform, visitors see either a 503 or a 508 Resource Limit Is Reached page. In cPanel, open the Resource Usage page if your host provides it, and look for faults at the times the errors happened.

Common triggers are bot traffic hammering search or login pages, uncached WordPress pages during a traffic spike, wp-cron running heavy jobs on every visit, and a plugin making slow external API calls. Turn on full-page caching, block abusive bots, and move cron to a real scheduled job before deciding you need a bigger plan.

3. Maintenance mode is stuck

During core, plugin or theme updates, WordPress writes a file called .maintenance to the site root and serves a 503 with the "Briefly unavailable" message. If an update is interrupted, the file can be left behind. WordPress stops honouring it after ten minutes, but a failing auto-update can keep recreating it. Check and remove it:

ls -la /path/to/site/.maintenance
rm /path/to/site/.maintenance
wp maintenance-mode status

Then re-run the update that failed, because a half-finished update can leave the plugin in a broken state. Our WordPress plugin troubleshooting guide covers disabling a plugin from the file manager. Maintenance plugins, Laravel's php artisan down and Magento's maintenance flag also return 503 on purpose, so check whether one was left switched on.

4. The backend behind a proxy is down

If Apache proxies to an application or to PHP-FPM and cannot connect, it returns 503 and logs the reason. Look for it:

sudo grep -E "AH01079|AH00957|AH01114" /var/log/apache2/error.log | tail
sudo tail -n 50 /var/log/nginx/error.log
sudo ss -ltnp

ss -ltnp shows whether the backend is actually listening on the port or socket the proxy expects. Restart the backend, then find out why it stopped: sudo journalctl -u yourapp --since "1 hour ago" and sudo dmesg -T | grep -i "killed process" will show crashes and out-of-memory kills. Load balancers such as HAProxy also return 503 when every backend server has failed its health checks.

5. Rate limits you set yourself

nginx's limit_req and limit_conn modules reject excess requests with 503 by default. If real visitors are being caught, look for these lines in the error log:

sudo grep -E "limiting requests|limiting connections" /var/log/nginx/error.log | tail

Raise the burst value, apply the limit only to expensive paths such as login and search, or change the response with limit_req_status 429;, which tells clients clearly that they are being throttled rather than that the server is unwell. Web application firewalls and DDoS protection can also answer with 503, so check their logs for the visitor's IP.

6. The whole server is overloaded

When load is far above the number of CPU cores, or the server is swapping, everything slows down and worker pools fill. Check quickly:

uptime
free -m
top -o %CPU

Find the process using the resources. If it is genuine traffic, add caching and a CDN first, then more CPU or RAM; on a Bigdomainhost KVM VPS vCPU and RAM grow in place with one reboot, so you do not need a new server. Our guide on how much RAM a VPS needs helps with sizing.

How to tell which side the problem is on

  • Fails for everyone, on every network: the website. Start with the server checks above.
  • Fails on one network or only through a VPN: most likely a per-IP rate limit or firewall rule on the site, or a proxy on your network producing its own 503. Compare the server header on both networks.
  • Fails only at busy times: worker pools, entry process limits or server capacity.
  • Fails only on logged-in pages, checkout or search: uncached dynamic pages using up workers, or a rate limit on those paths.
  • Error page carries CDN branding: read it carefully. It usually says whether the CDN or your origin is at fault; then test the origin directly with curl -sI --resolve example.com:443:ORIGIN_IP https://example.com/.

503 and SEO: the right way to take a site down

A 503 is the correct response for planned maintenance. Google treats 5xx responses as a signal to slow down crawling and keeps already indexed pages for a while; pages that keep returning errors for an extended period are eventually dropped. Serving a normal 200 page that says "down for maintenance" is worse, because that text can be indexed in place of your content.

Keep maintenance windows short, a few hours rather than days, and send Retry-After. Make sure robots.txt does not return 503 for long, because Google pauses crawling of the whole site while it cannot fetch that file. A simple nginx maintenance block:

error_page 503 /maintenance.html;
location = /maintenance.html {
    root /var/www/maintenance;
    add_header Retry-After 3600 always;
    internal;
}
location / {
    return 503;
}

On Apache or LiteSpeed with .htaccess:

ErrorDocument 503 /maintenance.html
Header always set Retry-After "3600"
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^ - [R=503,L]

Remove the block as soon as the work is done, then fetch a few pages with curl to confirm they return 200.

503 errors on Bigdomainhost

On cPanel hosting, sites run on LiteSpeed with LSCache, which takes most page views off PHP and keeps you clear of entry process limits; the exact account limits are printed in the Terms of Service. On a KVM VPS you have root access, so every command above is yours to run. If you cannot find the cause, send support the URL, the time and the response headers: phone in IST business hours, or WhatsApp +91 75994 50220 at any time.

Sources (checked )

How Bigdomainhost can help

If 503 errors keep coming back because your site has outgrown its current host, moving can be the lasting fix. Our Web & cPanel hosting runs on LiteSpeed with LSCache on servers in Mumbai, keeps 30 days of daily backups, and we migrate your sites, databases and DNS records free of charge. Engineers answer the phone in IST hours and WhatsApp at any time, in Hindi or English, and can look at the error with you.

Get cPanel hosting Get help with this error

Answers

Frequently asked questions

Still unsure? Call +91 75994 50220 or write to support@bigdomainhost.com — a human replies in IST hours.

What does 503 Service Unavailable mean?

It means the server received your request but cannot handle it at the moment, usually because it is overloaded, has hit a resource limit, is in maintenance or cannot reach the application behind it. The code is meant to be temporary, and the server may send a Retry-After header saying when to try again.

Is a 503 error my fault?

Almost never. A 503 is a reply from the website's server, so your connection worked. The exceptions are a VPN or shared mobile IP address that has hit the site's rate limit, or a proxy on your own network that produces its own 503 page. Try mobile data or switch the VPN off; if it still fails, the site owner has to fix it.

How long does a 503 error last?

Short overloads and WordPress updates usually clear within a minute or two. Planned maintenance lasts as long as the owner needs, and the page or the Retry-After header may say when. A 503 that lasts hours is a fault such as a stopped backend or a stuck maintenance file, not normal behaviour.

How do I fix a 503 error in WordPress?

First check the site root for a leftover .maintenance file from an interrupted update and delete it. If there is none, look for exhausted PHP workers or hosting resource limits at the time of the errors, disable recently updated or heavy plugins, and turn on page caching so fewer requests need PHP.

What is the difference between 503 and 502?

A 503 means the server could not or would not serve the request right now, typically because of overload, limits or maintenance. A 502 means a proxy or gateway got an invalid or empty response from the server behind it, usually because that backend crashed. Some servers use the codes differently, so the logs give the final answer.

Does a 503 error hurt SEO?

A short 503 does not. Google slows down crawling and keeps indexed pages while it sees 5xx responses, which is why 503 with Retry-After is the right code for planned maintenance. Pages that keep returning 503 for an extended period are eventually dropped, so keep downtime short and do not let robots.txt return 503.

Support that picks up the phone.

In IST hours, in Hindi or English, and WhatsApp replies fastest at any time. Sales, migration and emergencies all reach the same engineers. No offshore queue, no 48-hour first reply.

Need cPanel or WHM with the ports already sorted?

Web & cPanel hosting comes with cPanel ready to log in to, reseller hosting adds white-label WHM, and a KVM VPS can have cPanel & WHM pre-installed. Call +91 75994 50220 or email support@bigdomainhost.com.