Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Redirect domain to another website via froxlor

Featured Replies

Hello, I would like to redirect a domain to another domain in froxlor, I inserted the URL in the "path" label, but doesn't work > error: too many redirects

image.thumb.png.d14907bdc509f2af1ba2a00f5b8cfd73.png

image.png.370edfedbb1837d87543375c4fd2b5d1.png

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

  • Author

I'm redirecting "xxxx.it" to "xxxyyy.it" they are both on the same Froxlor panel, andxxxxyyyy.it has content that must also be displayed by caromed.it, that's why there is a redirection, DNS side there is an A record pointing to the froxlor server

You cannot redirect caromed.it to caromeditalia.it and use assets/content from caromed.it on caromeditalia.it at the same time...

  • Author

In fact, I only set up a redirect, what else should I do? :)

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...

  • Author

I would like to redirect only to main domain, that contain a simple (single) WordPress installation (using only the main domain)

Then please show the generated virtual host configs of both domain from the Webserver config directory 

  • Author

.

 

Not the php config....the vhosts of the domains, from /etc/apache2/sites-enabled/...

  • Author

.

 

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

 

  • 5 months later...

I'm experiencing the same issue. I've attempted to redirect a domain of capcut mod apk 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?

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

  • 2 months later...
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?

  • 3 months later...

Imo, it'll be easier to redirect directly from .htaccess or nginx vhost

.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.