Can not deploy a simple html file to cloudflare pages

I am trying to deploy a simple html file to Cloudflare pages but for some reason when i try to access it the browser gives me

We can’t connect to the server

The html file itself is simple hello world index.html:

<!DOCTYPE html>
<html>
   <head>
     <title>Hello</title>
   </head>
   <body>
     <h1>Hello World</h1>
   </body>
</html>

and on Cloudflare options

Build command:
Build output directory: /

What’s the URL for your pages.dev? Are you seeing this error on the pages.dev or a custom domain? Can you share the full build log?

URL: azureb2cloginui.pages.dev
Log:

19:12:16.369	Cloning repository...
19:12:17.468	From https://github.com/firmwaremine/AzureB2CLoginUI
19:12:17.469	 * branch            0db29b8b12a2f351fcebfb2de55ea5450692cc6e -> FETCH_HEAD
19:12:17.469	
19:12:17.494	HEAD is now at 0db29b8 Update index.html
19:12:17.495	
19:12:17.602	
19:12:17.622	Success: Finished cloning repository files
19:12:18.094	No build command specified. Skipping build step.
19:12:18.094	Note: No functions dir at /functions found. Skipping.
19:12:18.095	Validating asset output directory
19:12:18.618	Deploying your site to Cloudflare's global network...
19:12:22.269	Success: Assets published!
19:12:23.399	Success: Your site was deployed!

Your site seems to load fine for me: https://azureb2cloginui.pages.dev/

I see “Hello World”.

1 Like

It is working now no idea why

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.