Jump to content
Froxlor Forum
  • 0

Redirect domain to another website via froxlor


Francesco

Question

16 answers to this question

Recommended Posts

  • 0

well then to which site are you redirecting? Is it possibly redirecting back? or is the redirect issue on that site itself? Without more info, it's hard to help. Provide URLs or even better, the generated vhost config file

Link to comment
Share on other sites

  • 0

What is your goal? Have the same content on BOTH domains, or have one redirect to the "main" one? Also, the page seems to be a wordpress installation, is that a multi-site setup or which domain is used as the wp-domain? Wordpress also does some redirecting in its .htaccess file...

Link to comment
Share on other sites

  • 0

It's not froxlor, either wordpress or cloudflare, caromed.it does redirect to itself:

 

> curl -v https://caromed.it/
*   Trying 104.21.63.67:443...
* Connected to caromed.it (104.21.63.67) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=caromed.it
*  start date: Oct 14 07:58:20 2023 GMT
*  expire date: Jan 12 07:58:19 2024 GMT
*  subjectAltName: host "caromed.it" matched cert's "caromed.it"
*  issuer: C=US; O=Let's Encrypt; CN=E1
*  SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: caromed.it]
* h2 [:path: /]
* h2 [user-agent: curl/8.1.2]
* h2 [accept: */*]
* Using Stream ID: 1 (easy handle 0x125812600)
> GET / HTTP/2
> Host: caromed.it
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/2 301
< date: Mon, 16 Oct 2023 15:00:01 GMT
< content-type: text/html; charset=iso-8859-1
< location: https://caromed.it/
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=3D%2BTUKGQYUWfVgnInImJATTO%2FhBD%2FRdcn1BPal8hAwUu3d1iq4kvcMqQpQmOLg0syJhqhk7zsX4JvjaTSKs7eNn%2F02ivkLWRVZcGUP3pJjyVBt4iYZAbh87s64b2"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 81712b48195d65cb-FRA
< alt-svc: h3=":443"; ma=86400
<
<!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://caromed.it/">here</a>.</p>
<hr>
<address>Apache/2.4.57 (Debian) Server at caromed.it Port 80</address>
</body></html>
* Connection #0 to host caromed.it left intact

 

Link to comment
Share on other sites

  • 0

I'm experiencing the same issue. I've attempted to redirect a domain to another domain within Froxlor by inserting the URL in the "path" label, but it's not working as expected. Instead, I'm encountering an error stating "too many redirects." Has anyone else encountered this problem and found a solution?

Link to comment
Share on other sites

  • 0

Well then you indeed have too many redirects....check a potential .htaccess file or the target page. A redirect is VERY basic, it just tells the client to go to the other page. Most likely the other page redirects back or does a reedirect to itself. You can find out by using `curl` on the shell and inspect the headers (Location: http://TARGET) and then follow these targets and you will see that there is a redirect back to where it came from at some point

Link to comment
Share on other sites

  • 0
7 minutes ago, Mehsaan Sheikh said:

I'm facing a similar problem. I've tried to redirect one domain to another within Froxlor by entering the URL in the "path" field, but it's not working correctly. Instead, I get an error message saying "too many redirects." Has anyone else experienced this issue and found a fix?

 
 

Really? Your first post and you just copy the post from Joe Root which I've already answered?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...