i40west
i40west
CDCloudflare Developers
Created by Tarky on 6/11/2024 in #general-help
How to add a www CNAME that points to my root domain?
You still need the server configured to answer to the www name.
8 replies
CDCloudflare Developers
Created by Tarky on 6/11/2024 in #general-help
How to add a www CNAME that points to my root domain?
8 replies
CDCloudflare Developers
Created by supsydaisy on 6/11/2024 in #general-help
Page Rule working on WWW but not Non-WWW
Is your pattern *allyouyoga.co.uk/blog/* or *.allyouyoga.co.uk/blog/* (with a dot)?
4 replies
CDCloudflare Developers
Created by Tarky on 6/11/2024 in #general-help
How to add a www CNAME that points to my root domain?
Your server needs to be configured to answer to the www name. As far as it's concerned it's a different hostname and it doesn't know what to do with it.
8 replies
CDCloudflare Developers
Created by 面条 on 5/27/2024 in #pages-help
I have bound the domain in Pages, but it is still in the process of verification
Yeah, those certificates don't have the domain name in the commonName field, and Cloudflare's do, so that's the difference.
8 replies
CDCloudflare Developers
Created by 面条 on 5/27/2024 in #pages-help
I have bound the domain in Pages, but it is still in the process of verification
Yes, I think it's because the domain name is too long. The "Common name" field of a certificate is limited to 64 characters. It's not actually necessary for the domain name to be the Common Name, but in practice it is.
8 replies
CDCloudflare Developers
Created by bacon on 11/12/2023 in #pages-help
Link Previews?
Link previews are created by adding Open Graph metadata to your HTML header. If you're using a framework to create your site it may have a feature or plugin to do this as it's a common requirement. Search for "Open Graph" for info, or here's a good summary I found: https://ahrefs.com/blog/open-graph-meta-tags/
2 replies
CDCloudflare Developers
Created by Erina Nakiri on 11/8/2023 in #pages-help
GitHub can't auto build without the pages build environment
In your project's environment variable settings, there are two sets of settings, one for production and one for preview builds. The Dependabot PRs will build with the preview settings. So you have to specify your environment variables for both.
5 replies
CDCloudflare Developers
Created by Hermes Alves on 8/30/2023 in #pages-help
Setting Up Custom Domains for Different Branches in Cloudflare Pages
First, add stage.mywebsite.com as a custom domain to the Pages project. A DNS entry will be created automatically, pointing to the main site. Go to your DNS settings and edit the CNAME to point to the staging branch's pages.dev URL, like staging.project.pages.dev. (Ignore the warning it may give you.)
6 replies
CDCloudflare Developers
Created by ajgeiss0702 on 8/24/2023 in #pages-help
Something is caching my Pages site
It sounds like browser cache rather than Cloudflare cache. In the dashboard under Caching -> Configuration, you can set Browser Cache TTL. Probably the best setting if using Pages is "Respect Existing Headers".
8 replies
CDCloudflare Developers
Created by hepperle_wp on 8/23/2023 in #general-help
How to use CloudFlare as DNS provider with existing site without moving email
For incoming email, you should have an MX record that points to your mail server. If you already have email working, this MX record should already exist in your DNS. When you set up on Cloudflare you should add exactly the same MX record (which Cloudflare's setup might pick up automatically).
5 replies
CDCloudflare Developers
Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
No, there's no build cache (yet). Since there is a build cache with Hugo when you use it locally, its absence can actually cause unexpected behavior if you have a problem in your code that the cache is obscuring. It can be a good idea to test locally by deleting both the public directory and the resources/_gen directory. It sounds like your problem was more with Hugo than with Cloudflare in this case.
8 replies
CDCloudflare Developers
Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
Is your repo public?
8 replies
CDCloudflare Developers
Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
Is the theme in your repo? Or being included as a submodule?
8 replies