Project not accessible on specific network providers in Nigeria #3630
-
SummaryI am reaching out with regards to an issue I am facing with my deployment on vercel for https://clientmail.xyz I regularly face this issue of it not being accessible when i'm connected to my home wifi but it works fine once I switch to my personal hotspot (for context, wifi - MTN NG, hotspot- Airtel NG) I used to believe it was a general issue as it affected my hashnode blog before and they reached out and said it was from vercel but now I see Dub (by I know it will be hard to replicate this issue so I am available to offer help in anyway to ensure this issue gets fixed ExampleNo response Steps to ReproduceIt is hard to replicate as it only happens sometimes over the MTN network in Nigeria. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 13 replies
-
I am facing the same issue here. However, were you able to get this working? |
Beta Was this translation helpful? Give feedback.
-
The reason is because Vercel's shared IP address 76.76.21.21 is being blocked every now and then by ISPs. As of today 15/03/24 3:58pm, only Globacom is allowing it. For now, there are two solutions:
|
Beta Was this translation helpful? Give feedback.
-
Sure, Mr. Uzorchukwu.
But first of all, you have to have your domain hosted on Cloudflare. You'll
have to change your authoritative nameservers.
1. Sign up on Cloudflare
2. Add Website
3. Enter your domain name. You will be given 2 nameservers.
4. Find out how to change authoritative nameservers on your own for the
platform on the platform where you bought your domain.
5. Once your website has been connected to Cloudflare, follow the steps
here to create a
"dynamic" redirect rule:
https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/
.
NB: There are in fact, other ways to do this outside Cloudflare but to keep
it simple, let's just go with Cloudflare.
Owologba Oro
Software Developer, Reelest Studios
…On Sat, Mar 16, 2024, 7:43 AM Uzochukwu ***@***.***> wrote:
Hello @WorkMender <https://github.com/WorkMender> & @rowend36
<https://github.com/rowend36>, I'd appreciate it if you can share a
resource that shows how to "create a redirect rule"
—
Reply to this email directly, view it on GitHub
<#3630 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG3ZCQ5HQBZFNCP6XPY2WX3YYPSYPAVCNFSM6AAAAAA3RO64CSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMBZG42DK>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm experiencing this issue as well. My client's websites hosted on Vercel all have frequent downtimes from the most common network providers around here. Accessing with a VPN does work but most people don't use that. I'll need to use a different service like AWS amplify going forward as this might be hard for Vercel to fix. |
Beta Was this translation helpful? Give feedback.
-
Please, follow the link on step 5.
…On Wed, Mar 20, 2024 at 9:40 PM Ihtisham Ul Hassan ***@***.***> wrote:
@rowend36 <https://github.com/rowend36> I have changed the nameservers in
goddady to Cloudflare given, but my website is hosted in vercel. How do I
direct there?
—
Reply to this email directly, view it on GitHub
<#3630 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG3ZCQ2AVGUZXWWU26PDTODYZHX2BAVCNFSM6AAAAAA3RO64CSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNJXHEYTQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So, I've been able to work around this using the flattened CNAME records feature of Cloudflare. TLDR(Too Long, Didnt' Read...): You can use Cloudflare DNS as your authoritative DNS server, move all your DNS records over to Cloudflare and configure your apex domain to use CNAME instead of A record, which helps bypass this issue. Basically, you can only point an A record to a specific IP address, which most of us do when we configure the domain for our Vercel websites. (i.e. pointing yyyy.com -> 76.76.21.21 on your domain registrar (e.g. GoDaddy, Namecheap, assuming you're using them as your authoritative NameServers)). The www version of your Vercel website domain configuration uses a CNAME record that points to cname.vercel-dns.com. Now, this CNAME record resolves to a dynamic IP address 76.76.21.xxx, and hardly every hits the problematic one 76.76.21.21. The trick was to find a way to get the apex domain (yourwebsite.com, without www) to resolve to one of Vercel's non-problematic IPs. So, I point my apex domain (yourwebsite.com) to a CNAME with the If you're not well-versed with how DNS works, you can take some time to read(or... ask AI🙂). But essentially, you can use Cloudflare DNS as your authoritative DNS server and move all your DNS records over to Cloudflare and configure your apex domain to use CNAME instead of A record, which helps bypass this issue and keeps everything stable (also double check your other service to ensure they work, but they should). |
Beta Was this translation helpful? Give feedback.
-
Thank you all for for reaching out and sharing what worked for you. We are in contact with the Nigerian government and ISPs to remove the block block against our 76.76.21.21 IP address. Given this is not a block initiated by Vercel, we are limited in what actions we can take and I am not able to estimate long it will take to resolve. I will post updates here as new information is received. I appreciate all of you for understanding. |
Beta Was this translation helpful? Give feedback.
-
Add CNAME record name www.domain.xyz to your authoritative server. |
Beta Was this translation helpful? Give feedback.
Thank you all for for reaching out and sharing what worked for you.
We are in contact with the Nigerian government and ISPs to remove the block block against our 76.76.21.21 IP address. Given this is not a block initiated by Vercel, we are limited in what actions we can take and I am not able to estimate long it will take to resolve.
I will post updates here as new information is received. I appreciate all of you for understanding.