Next.js Discord

Discord Forum

Vercel & Cloudflare integration

Answered
Cinnamon posted this in #help-forum
Open in Discord
CinnamonOP
Hello everyone, I am trying to use custom domain from cloudflare on my site that is hosted on Vercel.
What I have done is shown in the pictures.
The problem is it's stuck in "Generating SSL Certificate"
Answered by riský
and what about these things mentioned?
View full answer

26 Replies

https://vercel.com/docs/integrations/cloudflare here you can find all informations needed
but maybe that link mentioned above has enough info
@riský while inconvenient, we can't help you here and the best place to ask is listed in <#1159366366860689519>
CinnamonOP
My bad, I didn't know where to ask so I just asked here!
@Cinnamon on CF you made record for aymvn.tech in vercel you are trying to add www.aymvn.tech
to make that easier 😄
change CF recrod to www and wait a few seconds
@Z4NR34L <@1169294300597727387> on CF you made record for `aymvn.tech` in vercel you are trying to add `www.aymvn.tech`
CinnamonOP
I added both, the "www" one was added automatically as a redirect
yeah, I see now mb
how long do you wait currently?
CinnamonOP
I've been waiting for like 1h now
but it should not take that long
TBH, try to add domain again in vercel 😄
@Z4NR34L TBH, try to add domain again in vercel 😄
CinnamonOP
I did try that.
I also tried disabling the proxy and re-adding but didn't work
CinnamonOP
I had my SSL/TLS set to full yeah
that was the cause for someone else i remember, s just wanted to check
and what about these things mentioned?
Answer
@riský and what about these things mentioned?
CinnamonOP
I added the page rules and ordered them as they should and that seems to work
yay you fixed it :)))
CinnamonOP
You guys helped
thank you so much!
Chinese Alligator
Hi,

I am encountering an issue where I only receive the Cloudflare proxy IP in my headers (e.g., x-real-ip, x-vercel-forwarded-for) instead of my clients' real IP addresses.

Is there a method to obtain the actual internet connection IP of my clients while using Cloudflare proxy?