Error 403: Forbidden

Hello , i have same problem too , can you help me ? I tried everything you write here for solving but still i have same problem , when i and my friends (for test) enter my site sometimes we get

Forbidden You don’t have permission to access / on this server.

this error and sometimes everything is ok , now i get “This site can’t be reached” error too

celebrated-pithivier-3935d9.netlify.app

Hi,

This appears to work fine.

1 Like

Hi, I have a similar problem after pointing directly to netlify’s name servers
The domain is (anushotit.com)
I have checked the name servers with the “whois” command and they point only to netlify and I keep getting the 403 Forbidden error

Hey @Olumurewa

I suspect this issue was due to DNS still propagating. anushotit.com loads fine for me. Are you still experiencing this issue?

Yes I am still experiencing the same issue.

I don’t believe that error is coming from Netlify.

It appears you are accessing the site from inside WhatsApp, is that correct? Have you tried accessing it via a browser normally, or another device?

I have tried and this is the screenshot

This is what I see @Olumurewa

% curl --compressed -svo /dev/null --resolve anushotit.com:443:75.2.60.5 https://anushotit.com/  2>&1 | egrep '^< '
< HTTP/2 301
< age: 4638
< cache-control: public, max-age=0, must-revalidate
< content-type: text/plain
< date: Fri, 26 Aug 2022 21:31:49 GMT
< location: https://www.anushotit.com/
< server: Netlify
< strict-transport-security: max-age=31536000
< x-nf-request-id: 01GBE5GGGE330YHQ1WGSV4NNHV
< content-length: 41
<

And

% curl --compressed -svo /dev/null --resolve www.anushotit.com:443:75.2.60.5 https://www.anushotit.com/  2>&1 | egrep '^< '
< HTTP/2 200
< age: 4682
< cache-control: public, max-age=0, must-revalidate
< content-type: text/html; charset=UTF-8
< date: Fri, 26 Aug 2022 21:31:50 GMT
< etag: "c7bacd606edb327aa690aab3720c7ddc-ssl"
< server: Netlify
< strict-transport-security: max-age=31536000
< x-nf-request-id: 01GBE5HV0AHKG9XXEAP4F39M04
< content-length: 732
<

This clearly shows the site is served by Netlify.

I suggest there is an issue with the DNS you are using, either locally or somewhere on the network. This is nothing to do with Netlify.

Thank you. I am really impressed withthe response times :netliheart:

hello Olumurewa,

the site may be blocked or cached from the whatsapp in-app browser. After curling the URL, the site comes up:

curl -IL  anushotit.com
HTTP/1.1 301 Moved Permanently
Age: 0
Cache-Control: public, max-age=0, must-revalidate
Content-Length: 37
Content-Type: text/plain
Date: Sat, 27 Aug 2022 08:23:08 GMT
Location: https://anushotit.com/
Server: Netlify
X-Nf-Request-Id: 01GBF6BHNJHTXHZSQ4V2CEEC2S

HTTP/2 301
age: 0
cache-control: public, max-age=0, must-revalidate
content-type: text/plain
date: Sat, 27 Aug 2022 08:23:08 GMT
location: https://www.anushotit.com/
server: Netlify
strict-transport-security: max-age=31536000
x-nf-request-id: 01GBF6BHZXVW0N052YBWBQ6C6G
content-length: 41

HTTP/2 200
age: 0
cache-control: public, max-age=0, must-revalidate
content-type: text/html; charset=UTF-8
date: Sat, 27 Aug 2022 08:23:08 GMT
etag: "bed4ebeae776323d1575270c39c99e50-ssl"
server: Netlify
strict-transport-security: max-age=31536000
x-nf-request-id: 01GBF6BJCCHBT9MA7TQGM0EA5E
content-length: 732

Please try a different browser.

Hey I have been having the same issue. It has been more than 24 hours. The sites link is herfazy.com. I don’t know what to do or if the problem is from the domain name or the host (I use an external domain name)

Hi @Michael22

herfazy.com is not configured to point to Netlify

% dig herfazy.com
herfazy.com.		14400	IN	A	209.142.64.132

Have a read through this support guide

You can find more resources for DNS in

So should I talk to the company who provided me with the dns to help me point it to netlify?

If you are unable to change the DNS entries, then you should contact the domain registrar or person who administers the domain, so they can assist you in configuring the domain correctly.

I already did and he is about to configure it for me later. Thank you so much for your help sir.

1 Like

Hi @luke !,
I have the same problem and I cannot resolve it after trying for 2 hours straight . Could you please help me out?
Custom domain: arphicagency.com
Site name: https://arphicagency.netlify.app

@luke Hi Sir I have seen that you solved a lot of problems here could you please help me out.
Site name: https://arphicagency.netlify.app
Custom domain: arphicagency.com

Hi @richdawg :wave:t6:, welcome to the forums! I checked the links you provided and your domain is redirecting fine to the site name. Your DNS is also configured properly. I suspect when you set up your DNS it was still propagating as outlined in this article here. [Support Guide] Compiled resources for custom domains on Netlify and DNS settings -- start here!

This can take upwards to 48 hours.

Are you still experiencing this issue?

Hello,

I’m also having this issue. I set the primary custom domain for my Netlify site as csignited.org and it’s been working for a while.
I recently transferred by domain from GoDaddy to BlueHost, and so I had to update the DNS records to point to Netlify again. I followed the instructions it gave under “Awaiting external DNS” and set the A record to point to 75.2.60.5.
Right now, when i visit the site, it gives me a 403 forbidden.

I looked through the other answers and tried the same things; both nameservers return A records that point to netlify, so I’m not sure what the issue is. Maybe I just have to wait? But the DNS records seem to have already propagated (at least for the servers my computer queries I think?)

Thanks in advance!

I’m not seeing any 403 error. This might be a DNS propagation issue and you might need to wait.