I deployed my html website using gcp bucket and godaddy. It was working fine but just few days back it starts giving this error on browser
{"error":{"code":404,"message":"Could not resolve / to a method.","status":"UNIMPLEMENTED"}}
When i check on bucket that url is working fine https://storage.cloud.google.com/www.autodealersbuddy.com/index.html
How can i fix it?
Google's guidance is to create a
CNAME
record for your domain pointed atc.storage.googleapis.com
, and to configure your bucket containing the static site's assets with a name matching the FQDN you've set up (the latter of which you seem to have done).Counter to this, the DNS record for your
www
subdomain (at least, the one that my local DNS server has for it) is pointing to an arbitrary IP:A similar
A
record (with a lower TTL value) appears in your root zone as well:Cursory research was inconclusive as to what exactly this IP maps to or where it comes from. If this news is surprising to you, you may want to invest some time to investigating whether the records were changed without your authorization, possibly in some form of DNS hijacking attack.
In any event, an update to your DNS settings to replace the
A
record that's currently there with the properCNAME
in accordance with Google's documentation is in order.I confirmed this is the culprit by manually setting this
CNAME
record in my local DNS server and reloading your page, which then shows up as one might expect: