All Questions
164
questions
0
votes
1
answer
79
views
Redirect Error website on VPS Ubuntu "www version" redirecting to "apache default page"
Hi I am a web designer and have recently starting maintaining a VPS server
I am using a Lamp VPS server running ubuntu 18 with multiple PHP websites
have edited virtual host and htaccess multiple ...
0
votes
0
answers
217
views
Redirect port 443 to another SSL configured port on IIS 10
Fist and foremost, due to limitations imposed by our service provider I can only use 1 IP address for both 80 and 443, so multiple IP address configuration is simply not an option.
So, I have a server ...
0
votes
0
answers
432
views
Apache Tomcat Accept HTTP and HTTPS on same port and always redirect to HTTPS
Hi I have the following connector in my apache tomcat server in the file server.xml:
<Connector port="8443" protocol="HTTP/1.1"
connectionTimeout="20000&...
0
votes
1
answer
77
views
Configure SSL for Apache Reverse Proxy
I want to redirect HTTPS connections to my domain towards a unique subdomain using Apache2 reverse proxy. I want all the connections that come to a.example.com to be redirected towards $random$.b....
0
votes
1
answer
1k
views
ssh local port forwarding not working when url is redirecting to https
I have a windows 10 home with Linux kali running inside it with vmware virtual machine software.
There is a local website that opens on url https://example.com in linux and has self signed certificate....
0
votes
1
answer
231
views
apache2 is directing to wrong path when using https for sub domains
I have an ssl wildcard cert (letsencrypt) for example.de & *.example.com.
My 000-default.conf looks like:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname ...
0
votes
0
answers
1k
views
421 Misdirected Request error when loading my myurl that redirects to subdomain m.myurl
When refreshing, it eventually loads.
The background is,
I have a main domain, and two subdomains, blog.myurl and m.myurl
The blog. is hosting blogger page with its own SSL
The main domain and the m....
1
vote
1
answer
1k
views
Redirecting Error with google load balancer
I'm trying to setup Google Load Balancer and couldn't get it work. It produces either 502 or 302 error.
Wanting to direct www to non-www, http to https.
This is my rewrite rule
SetEnvIf X-...
1
vote
1
answer
3k
views
Apache2 - default SSL/HTTPS page - aka. <VirtualHost *:443>
This is a very simple question.
I have several websites hosted. Some are HTTP, some are HTTP and HTTPS. It all works.
However, if I mess up an SSL site by pointing a domain at my server where the SSL ...
0
votes
1
answer
124
views
SSL certificate for Domains not in use
I am not sure if my title makes sense, but here is the situation. My site is hosted on GoDaddy, and the monthly fee includes an SSL certificate for the domain. I have also registered domains that ...
1
vote
1
answer
200
views
"redirect permanent" doesn't stop
I configured SSL/TLS for a site, and added a redirect line to the original config.
Redirect permanent / https://mypage/
And it worked fine. Now i was tasked to make it back. I deleted the SSL-based ...
1
vote
1
answer
995
views
How to properly setup SSL with Apache2 and multiple Docker containers?
I intend to create the following setup with a single server droplet:
What I want to achieve is to only setup SSL / HTTPS once for my
Apache2 web server using a wildcard certificate as depicted above.
...
0
votes
0
answers
290
views
Apache2 default subdomain redirect
My hoster directly resolves *.mydomain.tld to my server, whitout having to setup subdomains manually. This nicely allows me to add subdomains using virtual hosts. Now the problem with that is that ...
2
votes
1
answer
258
views
Dynamic DocumentRoot Based on SSL (Client Auth.)
I currently use Client SSL authentication to protect sensitive content. Users are required to import a certificate into their browsers that we generated using OpenSSL. When a user visits the website, ...
3
votes
0
answers
1k
views
Haproxy same port for http and https
I want my webapplication run only on port 4443. So i added this port to my docker container on haproxy. Now i want to inspect the incomming request and if it is not https, it should redirect to it. ...
0
votes
0
answers
129
views
Shiny App: Redirect non-www to https://www nginx
I created a shiny app in R that I'm hosting on a server at the 3838 port. I'm totally new to this, so I just followed tutorials. However, this problem has stumped even our brilliant IT guy.
My SSL ...
1
vote
2
answers
3k
views
How can I configure Apache to redirect root to a suburi in addition to https redirection?
I have an Apache webserver running a bunch of web apps. I have successfully redirected incoming http traffic to https for every individual app, but I'm having trouble routing ALL traffic coming to the ...
0
votes
1
answer
156
views
SSL error only when using Chrome and DirectAdmin domain pointer
I have a site that has a main domain with a valid SSL certificate and a secondary domain, which only needs to redirect visitors to the main domain. So, for the primary domain everything is set up: ...
0
votes
1
answer
2k
views
how to auto redirect from 8080 port to 8443
I am using Ubuntu 14.04 and apache-tomcat version 6. I changed all necessary things to redirect the port from 8080 to 8443 and it's working fine, but the thing is both urls are working. I would like ...
3
votes
3
answers
11k
views
SSL certificate error in domain redirection
I am managing two domain names and want to redirect one to the other. I set up a domain forwarding with 301 permanent redirection from domain S (source) to domain T (target). The server on domain T ...
0
votes
1
answer
1k
views
nginx reverse proxy static files relative pass
I have simple reverse proxy setup with nginx (which runs in docker container with certbot https://github.com/umputun/nginx-le) as webserver on example.com and 192.168.0.220:80 where my app runs. There ...
0
votes
1
answer
111
views
Requirements for redirect between two domains with https with different owners
I recently started in a role as a sysops engineer. However, I'm still missing quite a few basics, specifically regarding SSL/TLS certificates & their relation to DNS.
Here's the use case:
A ...
3
votes
1
answer
1k
views
How to redirect url with port to https with Nginx
I'm trying to set up an nginx webserver and have ssl set up.
I can currently access the site with my server url and also through http and have it redirect to https. However I can still access my ...
0
votes
1
answer
569
views
Nginx - Specific page rewrite to another domain, ssl warning
I have 2 websites (old-domain.com and new-domain.com), I am a shutting old-domain.com down and what to redirect to the new-domain. So I added the rewrite and return lines into my conf files. The catch ...
1
vote
2
answers
663
views
Nginx mapping with transparent port/proxy(?)
I'm not entirely sure what it is I'm looking for here, so I'm not able to effectively search for my answer.
I'm using dehydrated for LetsEncrypt's TLS-ALPN challenges. I'm hosting the service behind ...
1
vote
1
answer
92
views
Nginx Newbie trying to redirect http to https
I got my Nginx test server running on a virtual machine on Microsoft Azure. I was able to view my site when going to http://www.myTestSite.com until I decided to try redirecting from http to https. I ...
0
votes
1
answer
185
views
Nginx How to redirect HTTP non-www to HTTPS www with a single redirect?
I'm redirecting incoming HTTP traffic on port 80 to HTTPS on port 443. There, I'm redirecting non-www to www:
http://example.com -> https://example.com --> https://www.example.com
It seems google ...
1
vote
0
answers
3k
views
Grafana with SSL and Apache reverse proxy continuously redirects
I am attempting to move my Grafana install from a non-SSL to SSL link. It sits behind an Apache reverse proxy and worked fine before I tried to set up SSL.
I have seen many tutorials that look like ...
-2
votes
2
answers
259
views
How can I redirect all web requests to a specific subdomain on Nginx?
I have a website that I only want to serve requests at:
abc.mywebsite.com
I want any requests to:
www.mywebsite.com
mywebsite.com
<anything that is not abc>.mywebsite.com
to be directed to ...
1
vote
1
answer
1k
views
HTTPS redirect occassionally failing in IIS
Environment information:
Windows Server 2012 R2
IIS 8
IIS URL Rewrite Module 2 (13/04/2015) 7.2.2
Umbraco 7.11.1
Configuration description
We have an Umbraco site which is bound to two primary ...
-1
votes
1
answer
8k
views
modern installation of Tomcat with SSL on port 443
In the computer course I'm writing I'm using Tomcat for the server. (Students learn how to set up CentOS and everything from scratch. Currently the course has them using Tomcat running on port 8080.) ...
0
votes
1
answer
229
views
Wordpress + Cloudflare SSL redirects to apache root?
We recently deployed our new website and when trying to use it over SSL with cloudflare, it redirects to the Apache root dir?
I generated origin TLS certificates and downloaded those from cloudflare ...
1
vote
3
answers
5k
views
Redirect http url on port 5061 to https same port 5061 on apache
I have setup https on apache configuration of my website.conf as
<VirtualHost *:5061>
<Directory/var/www/website.com>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
<...
1
vote
1
answer
4k
views
NGINX HTTP/NON-WWW to HTTPS caused too many redirects
I want to 301 redirect all non-https and non-www to https://www.example.com using the following configuration I found in another thread as the accepted answer. But it's not working for me.
What works:...
2
votes
1
answer
2k
views
Nginx: redirect non-www https to https://www
I'm having some issues when trying to redirect https://example.com to https://www.example.com. It simple gives me a redirect loop.
This is my site's nginx configuration I had prior to the changes I ...
0
votes
0
answers
142
views
Nginx redirect without using a port
I am using a nginx to redirect from several http services with IP:PORT to a https domain. Now I need the nginx to redirect only:
http://IP to https://DOMAIN and open it in Browser with:
https://...
8
votes
2
answers
19k
views
nginx "ERR_TOO_MANY_REDIRECTS" after add ssl
After i add Let's Encrypt certificate to my website with CertBot
i get ERR_TOO_MANY_REDIRECTS when i try to visit the domain of my website.
some info :
-mywebsite build with django, nginx and ...
0
votes
1
answer
625
views
Add or do not add WWW hostnames to SAN certificate
My setup is as follows:
100+ websites
Each website has two host headers any.com and www.any.com
Requests for www.any.com are redirected to any.com without changing protocol
Some of these websites ...
0
votes
2
answers
202
views
Apapche web server redirect unsupported ciphers to http?
We will be turning off support for browsers that only support TLS1.0
When we turn off support for TLS 1.0 on our web server can we redirect browsers that don't support TLS 1.1 or higher to a http ...
0
votes
1
answer
1k
views
Gitlab nginx - Unable to stop https redirect
Today I tried to enable SSL for a gitlab instalation so I made the following changes in /etc/gitlab/gitlab.rb
external_url 'https://our.server'
nginx['redirect_hhtp_to_https'] = true
nginx['...
1
vote
1
answer
4k
views
Apache2 Virtual Host auto redirects to https
I have ubuntu 16.04, I have setup virtual host in apache2 mysite.dev in file /etc/apache2/sites-available/mysite.conf
<VirtualHost *:80>
ServerName mysite.dev
ServerAlias *....
1
vote
1
answer
10k
views
NGINX ERR_TOO_MANY_REDIRECTS after installing SSL
It seems, the whole website (Magento 2 shop) is working well but the backend isn't.
The backend is located under: url.com/admin
The rest of the shop with url.com and all categories url.com/cat1/...
0
votes
1
answer
62
views
Redirect from unsecured TLD to alternate secured TLD
I am wondering what the impact is on a website visitor when the website has had a TLD change.
Take for example, https://subdomain.example.com. Let's say this domain changes to https://subdomain....
1
vote
1
answer
325
views
Apache redirect doesn't work on one specific subdomain
I found a few similar questions, but nothing that quite seemed to describe my situation, so apologies in advance if this is a duplicate.
I am running apache2 on an AWS instance of Ubuntu 16.04, and ...
0
votes
1
answer
1k
views
How do I make IIS isapi redirector forward client certificate to Tomcat via AJP
I have an isapi_redirect component v.1.2.42 installed as an ISAPI filter on IIS and I want to forward requests from IIS to Tomcat via AJP. The problem I'm facing now is that if I use client ...
1
vote
1
answer
400
views
nginx http redirect wrongfully doubles the parameters (via AWS ELB)
For example, when I browse
http://example.com/foo?x=1&y=2
nginx redirects me to
https://example.com/foo?x=1&y=2?x=1&y=2
Now if I continue to redirect, I get
https://example.com/foo?...
2
votes
2
answers
2k
views
Apache redirect from ssl subdomain not working
I am trying to redirect all traffic to https and all subdomains to main domain and can't get it right. I am using Ubuntu 14.04 with latest apache2.
I set up virtualhost for port 80 to redirect all ...
1
vote
1
answer
201
views
Is it optimal to force SSL on my site at CDN, Web Server or Code level?
We are implementing a redirect rule to force our traffic to SSL. I was wondering what the most optimal way to force all traffic to SSL was? Our architecture has a CDN(Akamai), that is front of an ELB, ...
0
votes
1
answer
567
views
Redirect from HTTPS to HTTP in nginx as a reverse_proxy
I have an edge server in which a varnish and an Nginx are installed on it. I use Nginx as a reverse_proxy for SSL termination for HTTPS traffic and also forwarding HTTP traffic. Both traffics are ...
-2
votes
2
answers
205
views
Nginx - Redirect a bunch of domains to a single domain, with SSL [duplicate]
Nothing insidious going on but I've got a bunch of domains that we've bought for a service and I don't want to buy an SSL certificate for them all (there's about 11).
As an example, we've got:
...