Unbranded 403 error with 301 error with cURL

I just migrated a site from a shared hosting account to a VPS by the same host. When I point DNS to the new IP address, I get a 403 - forbidden access message (No Cloudflare branding)

When I run a cURL command on the domain name and on the IP address I get the same 301 response to HTTP 1.1 (See more details below)

When I pause Cloudflare on the site, I still get the same errors.

A traceroute takes me to the host (Hostwinds)

  1. I generated an HAR file (Not sure how to send it to you. I get an unsupported file type error when I try to upload it here)

  2. Ran a couple of cURL commands
    2.1) Kims-MBP-2:~ kim$ curl -svo /dev/null http://www.mendability.com/

    Trying 104.26.9.35…
    TCP_NODELAY set
    Connected to www.mendability.com (104.26.9.35) port 80 (#0)

    GET / HTTP/1.1
    Host: www.mendability.com
    User-Agent: curl/7.64.1
    Accept: /

    < HTTP/1.1 301 Moved Permanently
    < Date: Tue, 28 Jan 2020 19:01:24 GMT
    < Transfer-Encoding: chunked
    < Connection: keep-alive
    < Cache-Control: max-age=3600
    < Expires: Tue, 28 Jan 2020 20:01:24 GMT
    < Location: https://www.mendability.com/
    < Server: cloudflare
    < CF-RAY: 55c536fafa45d382-LAX
    <
    { [5 bytes data]
    Connection #0 to host www.mendability.com left intact
    Closing connection 0

2.2) Kims-MBP-2:~ kim$ curl -svo /dev/null http://www.mendability.com/ --connect-to ::104.168.134.55

Connecting to hostname: 104.168.134.55
Trying 104.168.134.55...
TCP_NODELAY set
Connected to 104.168.134.55 (104.168.134.55) port 80 (#0)
> GET / HTTP/1.1
> Host: www.mendability.com
> User-Agent: curl/7.64.1
> Accept: /
>
< HTTP/1.1 301 Moved Permanently
< Date: Tue, 28 Jan 2020 19:04:16 GMT
< Server: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips
< Pragma: no-cache
< Expires: Tue, 28 Jan 2020 20:04:17 GMT
< Cache-Control: max-age=3600
< X-Redirect-By: WordPress
< Set-Cookie: PHPSESSID=8kooeoeojo25l4o6vmg2dc7ov6; path=/
< Location: https://www.mendability.com/
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
{ [5 bytes data]
Connection #0 to host 104.168.134.55 left intact
Closing connection 0
  1. I paused Cloudflare
    Result: Same 403 error

  2. Performed a Traceroute

traceroute to mendability.com (142.11.226.65), 64 hops max, 72 byte packets
1 docsis-gateway (10.0.0.1) 2.938 ms 0.588 ms 0.535 ms
2 70.75.96.1 (70.75.96.1) 7.706 ms 11.255 ms 10.803 ms
3 rc3no-be134-1 (64.59.133.53) 12.499 ms 9.359 ms 13.372 ms
4 rc3so-be23 (66.163.71.118) 9.456 ms 13.585 ms 11.194 ms
5 rc4ec-be13.il.shawcable.net (66.163.65.18) 39.841 ms 40.222 ms 41.650 ms
6 206.223.119.86 (206.223.119.86) 40.132 ms 40.594 ms 40.348 ms
7 * * *
8 ae4.cs1.iah1.us.eth.zayo.com (64.125.28.55) 71.683 ms 76.541 ms 76.551 ms
9 ae5.cs1.dfw2.us.eth.zayo.com (64.125.28.99) 78.444 ms 119.576 ms 75.538 ms
10 ae6.er3.dfw2.us.zip.zayo.com (64.125.26.55) 73.523 ms 72.558 ms 73.117 ms
11 * * *
12 client-142-11-226-65.hostwindsdns.com (142.11.226.65) 66.490 ms 65.711 ms 66.085 ms

Site seems to load just fine over https when redirected.

curl -svo /dev/null https://www.mendability.com/
*   Trying 142.11.226.65:443...
* TCP_NODELAY set
* Connected to www.mendability.com (142.11.226.65) port 443 (#0)
* ALPN, offering http/1.1
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: www.mendability.com
* Server certificate: Sectigo RSA Domain Validation Secure Server CA
* Server certificate: USERTrust RSA Certification Authority
> GET / HTTP/1.1
> Host: www.mendability.com
> User-Agent: curl/7.67.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Type: text/html; charset=UTF-8
< Set-Cookie: PHPSESSID=fad3f73c86e770a032f75346728384ea; path=/
< Link: <https://www.mendability.com/wp-json/>; rel="https://api.w.org/"
< Link: <https://www.mendability.com/>; rel=shortlink
< Transfer-Encoding: chunked
< Date: Tue, 28 Jan 2020 21:18:16 GMT
< Server: LiteSpeed
< Vary: User-Agent
< Alt-Svc: quic=":443"; ma=2592000; v="39,43,46", h3-Q039=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-23=":443"; ma=2592000, h3-24=":443"; ma=2592000
<
{ [810 bytes data]
* Connection #0 to host www.mendability.com left intact

I just tried to access the site from my mobile phone over the LTE network and I can see the site… Could it be ISP related?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.