Amazing Cloudflare
-
July 23, 2023 at 11:10 am #10356[anonymous]
Today I did this.
Registered a domain with Cloudflare.
They offered me “Pages” which is static hosting. I accepted.
I made a Publii test site, exported it as a ZIP file.
Inside Cloudflare Pages, I uploaded the ZIP file.
That’s it. Website is working.
DNS takes up to 48 hours. To do this I went to the menu…
“Workers & Pages” > “Custom Domains” > “Add a custom domain” and added my domain name. Done !
Now……
Can we get auto uploaded to Cloudflare please?
July 23, 2023 at 11:10 am #10357[anonymous]Did I mention that hosting is free ?
July 23, 2023 at 1:22 pm #10358[anonymous]@RobNZ
I have not delved much into the limitations of the free plan.
Compared to Netlify, in my opinion I think the image lazyload works better or the upload speed itself is better but in this sense Cloudflare is much more recommendable.
In addition to this, if I’m not mistaken, it has free ddos protection and unlimited bandwidth (which Netlify does not).
Taking us out of the Github step the implementation is done in a jiffy. They also give a free pages.dev domain.
I don’t know what more we can ask for at 0 cost.
July 23, 2023 at 9:51 pm #10360[anonymous]Simplicity for one 🙂
I have tried AWS S3, Google, Netlify…
The first two are WAY too complicated. Just look at how long the Publii setup pages are. Crazy. Good grief, these are just simple static sites !!!
The biggest downside with Cloudflare that I can see is uploading the static website. It needs to be dome manually from their website (it is fast and easy btw). There is an alternative which is to use a command live uploader that Cloudflare provide but IMO this is too messy.
If Publii had a built in uploaded for Cloudflare, that would be the best.
But still, Publii > ZIP file, then Upload button > wait 5 seconds > DONE is a pretty good option.
July 23, 2023 at 10:52 pm #10361[anonymous]Please check: https://getpublii.com/docs/configure-cloudflare-pages-with-publii.html 🙂
July 24, 2023 at 4:23 am #10367[anonymous]Thanks. I’m not sure that page makes the case clearly that Cloudflare setup is relatively easy…?
Any change of getting auto-upload added natively into Publii ?
July 24, 2023 at 1:00 pm #10371[anonymous]You can auto-upload through a GitHub repository as explained in the docs, but of course that means also having a GitHub account.
Since direct upload seems to necessitate using Wrangler, perhaps it could be implemented as a plugin.
October 14, 2023 at 1:27 pm #10741[anonymous]I added my custom domain to cloudflare using this github method. How long before the posts revolve on the custom domain. My main domain homepage works on the custom domain but the individual pages are going to github urls
October 16, 2023 at 3:08 pm #10745[anonymous][anonymous] wrote:I added my custom domain to cloudflare using this github method. How long before the posts revolve on the custom domain. My main domain homepage works on the custom domain but the individual pages are going to github urls
I had this same problem, you have to change the website URL to your custom domain in the server settings in the Publii app.
October 19, 2023 at 12:07 pm #10760[anonymous]Hi,
For anyone interested in use of CloudFlare pages – we have released alpha version with support for git repositories which is much more efficient than current API-based way: https://forum.getpublii.com/topic/git-feature-in-publii-v-0-44-0-alpha/
October 20, 2023 at 11:07 am #10766[anonymous]Can someone provide a step by step guide to use the 44 alpha to sync with CloudFlare? I am unsure of how to configure GIT because when I tried it just stuck at “checking connection”…
October 20, 2023 at 11:43 am #10767[anonymous]Regarding CloudFlare Pages – you can find useful instructions here: https://getpublii.com/docs/configure-cloudflare-pages-with-publii.html
Regarding configuring GIT – I suppose that the settings are quite explaining – it is in fact very similiar to Github Pages https://getpublii.com/docs/host-static-website-github-pages.html the main difference is fact that you must put in the Repository URL the full path to the repository for example: https://github.com/YOUR_USERNAME/YOUR_REPOSITORY_NAME.git