Can't redirect http to ht...
Can't redirect http to https
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- Can't redirect http to https
- Forum della Comunità
- Can't redirect http to https
Argomento: Can't redirect http to https
I am trying to redirect domain.com (http://) to https://domain.com but when I set it up under web redirect it is ignoring my rules.
Rispondi con citazione | Segnalare
Redirect from domain.com to domain.com will not work because once the redirect is set up, domain.com will be pointing to Dynu web redirect server. You should set up the redirect for http to https requests on your web server.If you are unable to configure the web server, you may be able to set up a redirect from domain.com to https://www.domain.com.
Rispondi con citazione | Segnalare
this is an example of how i setup a vhost on apache 2.4+ with SSL redirection (assuming we use Let's Encrypt).
..VirtualHost *:80.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn Redirect permanent / https://your.dynu.host/../VirtualHost....VirtualHost *:443.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn SSLEngine on SSLCertificateFile /etc/letsencrypt/live/your.dynu.host/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/your.dynu.host/privkey.pem SSLProtocol all -SSLv2 +SSLv3 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLHonorCipherOrder on SSLCompression off../VirtualHost..Obviously you need change the your.dynu.host and your@email.host and remove the ".." element parts for your settings, the bbcode code-segment wouldn't allow me to use > symbols for some reason.
Rispondi con citazione | Segnalare
blackbarret wrote:this is an example of how i setup a vhost on apache 2.4+ with SSL redirection (assuming we use Let's Encrypt)...VirtualHost *:80.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn Redirect permanent / https://your.dynu.host/../VirtualHost....VirtualHost *:443.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn SSLEngine on SSLCertificateFile /etc/letsencrypt/live/your.dynu.host/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/your.dynu.host/privkey.pem SSLProtocol all -SSLv2 +SSLv3 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLHonorCipherOrder on SSLCompression off../VirtualHost..Obviously you need change the your.dynu.host and your@email.host and remove the ".." element parts for your settings, the bbcode code-segment wouldn't allow me to use > symbols for some reason.
Rispondi con citazione | Segnalare
Autore | Argomento: Can't redirect http to https |
---|---|
Michael Brancato Iscritto: 29/01/2017 |
Can't redirect http to https lunedì 12 giugno 2017 10:20
I am trying to redirect domain.com (http://) to https://domain.com but when I set it up under web redirect it is ignoring my rules.
|
timothytw Iscritto: 02/05/2002 |
Can't redirect http to https lunedì 12 giugno 2017 22:09
Redirect from domain.com to domain.com will not work because once the redirect is set up, domain.com will be pointing to Dynu web redirect server. You should set up the redirect for http to https requests on your web server.If you are unable to configure the web server, you may be able to set up a redirect from domain.com to https://www.domain.com.
|
blackbarret Iscritto: 26/04/2017 |
Can't redirect http to https lunedì 19 giugno 2017 06:07
this is an example of how i setup a vhost on apache 2.4+ with SSL redirection (assuming we use Let's Encrypt).
..VirtualHost *:80.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn Redirect permanent / https://your.dynu.host/../VirtualHost....VirtualHost *:443.. ServerName your.dynu.host ServerAlias your.dynu.host ServerAdmin your@email.host DocumentRoot /folder/of/website ErrorLog /folder/of/website/logs/error.log CustomLog /folder/of/website/logs/access.log combined LogLevel warn SSLEngine on SSLCertificateFile /etc/letsencrypt/live/your.dynu.host/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/your.dynu.host/privkey.pem SSLProtocol all -SSLv2 +SSLv3 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLHonorCipherOrder on SSLCompression off../VirtualHost..Obviously you need change the your.dynu.host and your@email.host and remove the ".." element parts for your settings, the bbcode code-segment wouldn't allow me to use > symbols for some reason. |
rahsharma Iscritto: 25/11/2010 |
Can't redirect http to https lunedì 19 giugno 2017 11:58
|
Al momento è giovedì 26 dicembre 2024 14:09 US Mountain Standard Time
giovedì 26 dicembre 2024 14:09