503 Error When I started the website

xibiliyaha 40 Reputation points
2023-01-30T16:04:45.6966667+00:00

Hello expert

I installed iis in window server 2019, but I cannot reach the website, when I started the default site, I got a 503 error, and there is no useful error log in the browser or iis, how can I solve this problem?

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,127 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2023-01-31T02:49:49.8233333+00:00

    @xibiliyaha

    There are many reasons for 503 error, you need more information to troubleshoot this error, usually the 503 error is the result of repeated application crashes, since the w3wp.exe worker process, created by IIS to execute a web application, is crashing frequently, the respective IIS application pool is turned off. and evidence of what causes the w3wp.exe to crash may be found in Windows Events, in the Application log: second-chance crashing exceptions with w3wp.exe.

    HTTP response status 503 means Service Unavailable. In most of the cases, we have a 503.0, Application pool unavailable; and when we check the corresponding application pool, it shows "Stopped". that is actually a feature in IIS acting: the Rapid-Fail Protection. If the hosted application is causing the crash of its executing process for 5 times in less than 5 minutes, then the Application Pool is turned off automatically. Evidence of repeated w3wp.exe crashes and Rapid-Fail Protection may be found in Windows Events, in the System log with Source=WAS.

    More information about http response 503 service unavailable from IIS you can refer to this link.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Thameur-BOURBITA 32,511 Reputation points
    2023-01-30T16:43:02.12+00:00

    Hi @xibiliyaha

    May be one of application pool is stopped:

    iis-application-pools-to-monitor - Enterprise Network Security Blog from IS  Decisions

    For more details I invite you to read this link : How to fix HTTP Error 503 – The service is unavailable

    Please don't forget to mark helpful answer as accepted

    0 comments No comments

  2. MotoX80 31,571 Reputation points
    2023-01-30T16:54:15.3266667+00:00

    Verify that your application pools are started,

    User's image

    Check the System and Application event logs for errors.

    Check the HTTP error logs in C:\Windows\System32\LogFiles\HTTPERR

    0 comments No comments