Skip to main content

Specific Website Slow but All Others Fine

Answered

Comments

3 comments

  • Ian

    Just an update on this one. I narrowed it down to PHP FPM processes. Both the main page and style sheet go through PHP and all other files are served statically. It's only the PHP files that had a slow response time.

    It looks like the site was being hit by search engines with some dodgy links. For example:

    https://www.mysite.com/pagename.php/list.php?id=1

    I search for calls to that page that have a slash after it and return a 404 response now.

    So far, things look OK but I'll update more if this turns out not to be the solution.

    0
  • cPRex Jurassic Moderator

    I'm glad you found the solution!  

    0
  • Tamilnadu Tourism

    I had a similar issue before where only one website was slow while the others on the same server worked perfectly. In my case, the problem wasn't the VPS—it was the application itself.

    A few things that helped me troubleshoot:

    • Check the PHP error logs for the affected site.
    • Look for slow MySQL queries or database issues.
    • Disable plugins or recently added code to see if the response time improves.
    • Verify that OPcache is enabled.
    • Test the site with a default theme or minimal configuration if it's running on a CMS.
    • Check if the site is making external API requests that could be timing out.

    My working perfect Website: https://www.tamilnadutourism.com/

     

     

    0

Please sign in to leave a comment.