HTTP Error 503. The service is unavailable. Question

by vjboc
7 replies
  • WEB DESIGN
  • |
My site at least once daily gets a HTTP Error 503. The service is unavailable.
My host says it the coding. But I have a duplicate site shop.qpricing and it never has a problem. The Qpricing is on dedicated ip address. Could this be an issue? Please help
#503 #error #http #question #service #unavailable
  • Profile picture of the author GioSec
    Tell your host to take a look at your weblogs. You need to see the exact error that you're getting so you need to have access to the log files or ask your host to take a look at them and forward you the errors.

    A 503 error usually means that the web services are not running so ask them to restart the web server just in case.

    Other things to check:

    -Check space on the server. Sometimes when space fills up services won't start
    -Ask you support to check your port 80 and make sure it's receiving connections

    Those are some of the basics, but we'll need the exact errors from the log files to really diagnose the problem.
    {{ DiscussionBoard.errors[5154099].message }}
    • Profile picture of the author vjboc
      Originally Posted by GioSec View Post

      Tell your host to take a look at your weblogs. You need to see the exact error that you're getting so you need to have access to the log files or ask your host to take a look at them and forward you the errors.

      A 503 error usually means that the web services are not running so ask them to restart the web server just in case.

      Other things to check:

      -Check space on the server. Sometimes when space fills up services won't start
      -Ask you support to check your port 80 and make sure it's receiving connections

      Those are some of the basics, but we'll need the exact errors from the log files to really diagnose the problem.



      They keep saying it is the code. I went to the logs and found
      http//www.baidu.com/search/spider .html many many times. Could a 503
      happen from traffic and should I block this?
      {{ DiscussionBoard.errors[5154187].message }}
      • Profile picture of the author GioSec
        If it is the code as your support is saying you should be able to access an index.html and php info file.

        create and index01.html file and place it on the root of your server.

        The file should contain this:

        <html>
        test
        </html>

        then also create a phpinfo.php file it should contain this:

        <? phpinfo(); ?>

        try to access both files;

        yourdomain .com/test01.html

        yourdomain .com/phpinfo.php

        If you can access both of those files then it probably is your code.

        As for what you found in your log files. It's just a search engine spider crawling your website. That is not the problem.
        {{ DiscussionBoard.errors[5154229].message }}
        • Profile picture of the author vjboc
          Originally Posted by GioSec View Post

          If it is the code as your support is saying you should be able to access an index.html and php info file.

          create and index01.html file and place it on the root of your server.

          The file should contain this:

          <html>
          test
          </html>

          then also create a phpinfo.php file it should contain this:

          <? phpinfo(); ?>

          try to access both files;

          yourdomain .com/test01.html

          yourdomain .com/phpinfo.php

          If you can access both of those files then it probably is your code.

          As for what you found in your log files. It's just a search engine spider crawling your website. That is not the problem.

          Thanks for getting back so quick, I forgot to mention that my site is asp.net . Can I do what you said in asp.net
          They have restart the Application pool.
          So to do this test it would have to have a 503 error again right?
          {{ DiscussionBoard.errors[5154284].message }}
  • Profile picture of the author GioSec
    An html file should work regardless if your server is ASP .net. so test the html file.

    instead of the phpinfo.php file create test.asp file and include this:

    <%@ Language="VBScript" %>
    <html>
    <head>
    <title>ASP Test Page</title>
    </head>

    <body>

    <%
    'Display the current system date and time
    Response.write "Today's date and time is " & Now()
    %>

    </body>
    </html>
    {{ DiscussionBoard.errors[5154426].message }}
    • Profile picture of the author vjboc
      Originally Posted by GioSec View Post

      An html file should work regardless if your server is ASP .net. so test the html file.

      instead of the phpinfo.php file create test.asp file and include this:

      <%@ Language="VBScript" %>
      <html>
      <head>
      <title>ASP Test Page</title>
      </head>

      <body>

      <%
      'Display the current system date and time
      Response.write "Today's date and time is " & Now()
      %>

      </body>
      </html>
      Thanks again,
      So if the html file works during a 503 error, than it is something in my code that is causing the error right?

      What can I do to check my code to make sure it is not the problem. Is there generators or something that can test my site. This is happening once daily and it is usually either around midnight or 5am - 6am,
      Which is the time I get the least traffic.
      {{ DiscussionBoard.errors[5154494].message }}
  • Profile picture of the author GioSec
    Again, you're going to have to look at the logs. Since it's a windows server you shouldn't just look at the web logs, you're going to have to look at the system logs in the "event viewer" I don't know if you have access to that, but if you have admin access to your server you should have access to the event viewer.
    {{ DiscussionBoard.errors[5155483].message }}

Trending Topics