Page functions: Site can't be reached

I just created a pages function and am trying to access it by pressing the Visit Site button.

url seems fine https://(my-app-name).pages.dev/

but getting This site can’t be reached error

Do i need to create a website or something else, or should a standalone page function be reachable?

looks like just takes a while to propagate – maybe hour or two

Problem solved