Remove https from domain

Good day,

Please help me remove redirect of https from mailstrap.com. The domain redirect to another domain which is superakerele.com.

Kind regards,

Segun

Do you have root access to the server(s) at those IPs?:

Name:      mailstrap.com
Addresses: 2a02:4780:28:92e9::1
           195.35.24.174
4 Likes

Yes I have access to the root server.

Do you manage the wordpress ?

curl -Ii mailstrap.com
HTTP/1.1 301 Moved Permanently
Date: Tue, 22 Oct 2024 12:42:51 GMT
Server: Apache/2.4.58 (Ubuntu)
X-Redirect-By: WordPress       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Location: https://superakerele.com/
Content-Type: text/html; charset=UTF-8
3 Likes

Yes I managed it

Ok, then within the wordpress settings, you should be able to remove the forwarding.

3 Likes

Please what do you think I can do, as much as it redirected to mailstrap.com, https://superakerele.com shows errors " superakerele.com redirected you too many times."

You might check your Cloudflare settings to be sure using Full(Strict)

Otherwise this question is better for your WordPress forum or possibly Cloudflare community. HTTPS requests to your domain get 301 Redirected to itself causing a loop

curl -i https://superakerele.com/

HTTP/2 301
location: https://superakerele.com/
server: cloudflare
4 Likes

Hi @segsy,

I see this

The HTTP-01 challenge does not redirect.

$ curl -i http://mailstrap.com/.well-known/acme-challenge/sometestfile
HTTP/1.1 404 Not Found
Date: Tue, 22 Oct 2024 20:19:22 GMT
Server: Apache/2.4.58 (Ubuntu)
Content-Length: 275
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.58 (Ubuntu) Server at mailstrap.com Port 80</address>
</body></html>

But here

I see http://mailstrap.com/ being redirected to https://superakerele.com/
thus a HTTP redirect to HTTPS.

$ curl -i http://mailstrap.com/
HTTP/1.1 301 Moved Permanently
Date: Tue, 22 Oct 2024 20:19:28 GMT
Server: Apache/2.4.58 (Ubuntu)
X-Redirect-By: WordPress
Location: https://superakerele.com/
Content-Length: 0
Content-Type: text/html; charset=UTF-8

Edit:

And then HTTPS redirects to the same HTTPS, thus causing an infinite loop.
Just like This **superakerele.com** domain is not opening

$ curl -k -i https://superakerele.com/
HTTP/2 301
date: Tue, 22 Oct 2024 20:32:14 GMT
content-type: text/html; charset=iso-8859-1
location: https://superakerele.com/
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=iYop5Mo9MGYBhSmlH%2BOpCJnMK2g91JlWcSE9CZ8%2BBo%2FRWmSPdfpdtXT86zIUvMr2UeI76pXzkYsr4NN%2BY%2BYhJrmt70YmW0%2FlaT8kOFVmIkBL8INRf9r0vPnsZmjINzH80DDy"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 8d6c41672bfa156c-SJC
alt-svc: h3=":443"; ma=86400
server-timing: cfL4;desc="?proto=TCP&rtt=29308&sent=7&recv=11&lost=0&retrans=0&sent_bytes=3421&recv_bytes=821&delivery_rate=119649&cwnd=233&unsent_bytes=0&cid=1630bffc7170bafe&ts=338&x=0"

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://superakerele.com/">here</a>.</p>
<hr>
<address>Apache/2.4.58 (Ubuntu) Server at superakerele.com Port 80</address>
</body></html>
2 Likes

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