The redirect page that is suppose automatically redirect to primary domain is displaying 403 error

Hi,

I have been having som issues with my redirect page https://faridaalin.com which is giving me the following error.

“# Forbidden
You don’t have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.”

While https://www.faridaalin.com/ is working perfectly.
Default subdomain: https://farida-alin.netlify.app/
Primary domain: https://www.faridaalin.com/
Redirects automatically to primary domain: faridaalin.com (403 error)

Anyone who can help me with this issue?

Hey @farida,
Very strange! I just checked our server logs for 403 responses sent for your domain and do not see any, so I’m not sure where that’s coming from. I thought maybe your DNS might be misconfigured and that another service was serving a 403, but your DNS looks good to me and we have created an SSL certificate. So I’m a bit stumped! Could you please share a screenshot of the error you see and an x-nf-request-id?

@farida Welcome to the Netlify community.

Your site(s) seem to be loading fine here in Southern California.

1 Like

Same here, also from US West Coast.

Hi, @farida. I’m seeing two A records for the apex/bare/root domain:

faridaalin.com.		14400	IN	A	46.250.221.27
faridaalin.com.		14400	IN	A	104.198.14.52

The second record (for 104.198.14.52) is pointing to Netlify. However, 46.250.221.27 appears to belong to “PRO ISP”.

I do get 403 responses from that IP address:

$ curl -svo /dev/null https://faridaalin.com/  --resolve faridaalin.com:443:46.250.221.27 2>&1 | egrep '(<\s|\* Connected to)'
* Connected to faridaalin.com (46.250.221.27) port 443 (#0)
< HTTP/1.1 403 Forbidden
< Date: Mon, 07 Sep 2020 01:45:42 GMT
< Server: Apache
< Content-Length: 318
< Content-Type: text/html; charset=iso-8859-1
<

If you delete that A record for 46.250.221.27, the 403 responses should stop occurring.

It was the A record from Proisp, thank you so much Luke and everyone :smiley:

1 Like