Question

APP platform getting google search console 5xx error, but site is available

Hi,

I have a site hosted on digital ocean APP platform, website is available but if I want to index it by google it fails to index it due to a 5xx error. I am using google search console. Since the site is up, only thing that I can think of is DNS issues, does anybody know what this could be?

I am using laravel, inertia ssr and vuejs.

My robots.txt looks like this and it is available by other crawlers.

User-agent: *
Disallow: /login
Disallow: /register
Disallow: /images
Disallow: /*.png$
Disallow: /*.svg$
Disallow: /*.jpg$
Allow: /

Sitemap: https://mysite/sitemap.xml


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 10, 2023

Hi there,

I could suggest a couple of things:

  • Check your App platform logs and look for any 500 errors in there that might be causing the problem.
  • As it is a 500 error it is unlikely to be a DNS issue I believe, have you made any DNS changes recently?
  • Does Google report 5xx errors on all pages or only on specific ones?
  • Try running a curl with providing the Google bot as the agent, that way you will verify if the error is caused by the user agent:
curl -IL -H 'User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)' https://domain.com

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel