Web page visualization
Hi guys, I'm trying to open for the first time a html page uploaded on Google Cloud Platform bucket and with the domain hosted on Claudflare but I can't.
Attached you have the picture of how I uploaded it to GCP and how the bucket is pointed to the domain. And finally, what I get when I try to open it on the browser.
Please help
49 Replies
That seems like an error with the configuration where the the project isn't being detected on the GCP side
Hi @Cyb3r-Jok3, I tried many things with no success. Can you address me more precisely? please tell me if u need more info
Typically there is configuration needs on the bucket to allow requests from a domain. Also are you going to
https://<your domain>/home-en1.html
in your browser?actually I'm going on the main page of the website
can i share with you step by step what i do?
I was following https://cloud.google.com/storage/docs/hosting-static-website#create-bucket but haven't touched GCP in a while. If you share what you did then I can try to recreate it at some point
So, first i deleted all the projects I had
Created a new project 'My project 54744'
It says to enable the Compute engine API and so I did but without creating credentials as it asks
It says to have certain Identity and access management roles: 'storage object admin' and 'cloud domains' and so I did.
Now i create a bucket. Here the first thing i don't understand. Why it doesn't allow me to name the bucket like my domain ?
finally i called it 'home.andyenriquez.com'.
I set the other things like where to store data: Region, europe-west
Choose storage class: Standard
Deselected 'Enforce public access prevention on this bucket'. This because i want it public
Access control: uniform (default)
Protection tool: None (default)
Upload a file named 'home-en.html'
I selected the permission as it says: allUsers and Cloud Storage/Storage Object Viewer
I assigned specialty pages, both of them called 'home-en.html'.
Set the load balancer as it says
This time I ponted the bucket on Cloudflare in a different way
this is what came out
ps. ive been as precise as possible but please tell me if u need more 😉
So tried it with the CNAME and it works. I did go through the domain verification process for my bucket which seems like you might need to do
https://cloud.google.com/storage/docs/domain-name-verification
looks like the beginning
one other thing
maybe this problem has to do with this ?
I have my CNAME set to
storage.googleapis.com
. Try replacing with thatTonight I'll try 👍. Thank you
doesn't work neither
can you please share with me a screenshot of the dns settings
Bucket settings
So, just to be sure, I changed the page name from "home-en.html" to index.html
edited the website config
and did something similar to yours.
ps. I don't understand the second line with TXT , community.cyberjake.xyz, google-site-verification...etc
this is what I see
You are visiting
andyenriquez.com
when your DNS record if for home.andyenriquez.com
The domain verification comes from https://search.google.com/search-console which might be neededwhat should i do with this?
but why if i change the DNS name to "www" and tapping www.andyenriquez.com doesn't go either?
btw i did domain verification last week. worked fine
this thing's driving me crazy 😵💫
Here you have
www.andyenriquez.com
and are going to andyenriquez.com
i'm tapping the entire address http://www.andyenriquez.com/
What is your bucket name set to?
My guess is it needs to be
www.andyenriquez.com
as wellyeah, i thought so but
look at this
That just means someone else has the bucket name then. Try changing the DNS record to be
home.andyenriquez.com
so, as before?
Yeah
at least it changed
You need to visit home.andyenriquez.com not
www.andyenriquez.com
bro, it works
be blessed