setting up dns and custom domain for deployed pages

Hi Folks

I deployed pages successfully and am able to access those pages using https://<my-pages>.pages.dev/ unfortunately i cant figure how to make sure both www.<myhostname>.com and <myhostname>.com point to that deployment.

I am ablet to access www.<myhostname>.com by just adding a CNAME that points to my pages. now <myhostname>.com is still not working . i think i need to add A records. so how do i get the ip address that i need to add where the A records will point to ? thats not covered i nthe docs. The docs also don't mention anything about A records unfortunately they only talk about setting up CNAME records. so i have that working but now i need to also make sure the when someone access the root domain they can type <myhostname>.com and get the same result.

Best regards
Was this page helpful?