force primary domain name...
force primary domain name to use SSL
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- force primary domain name to use SSL
- Forum della Comunità
- force primary domain name to use SSL
Argomento: force primary domain name to use SSL
I wish to force my primary Domain name to use an ssl connection.1. If I redirect with Port forward from 80 to 443 it uses my current Dynamic IP address instead of my current main domain name so my SSL cert which uses my domain name doesn't match the destination which is the IP address an dI get a verification error.2. If I try url forward to https://my.domain.name:443 it won't allow it saying domain name and the redirect url are the same.So is there a method that will alias http://my.domain to https://my.domain:443 ?
Rispondi con citazione | Segnalare
I would suggest using web server settings to redirect http to https. I know IIS allows you to do so: HTTP to HTTPS redirects on IIS 7.x and higher. What web server are you using?
Rispondi con citazione | Segnalare
anthonywebuser wrote:I would suggest using web server settings to redirect http to https. I know IIS allows you to do so: HTTP to HTTPS redirects on IIS 7.x and higher. What web server are you using?
Rispondi con citazione | Segnalare
This seems to be an accepted lighttpd.conf entry for forwarding http to https.This still doesn't work I can directly enter http://my.domainname.net:443 and reach my destination but I can't force a port redirect from my.domaniname.net to my.domainname.net:443 only my.domainname.net:80 => my.ip.addr.ess:443.
wrote:$HTTP["scheme"] == "http" { # capture vhost name with regex conditiona -> %0 in redirect pattern # must be the most inner block to the redirect rule $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") }}
Rispondi con citazione | Segnalare
davidart wrote:This seems to be an accepted lighttpd.conf entry for forwarding http to https.This still doesn't work I can directly enter http://my.domainname.net:443 and reach my destination but I can't force a port redirect from my.domaniname.net to my.domainname.net:443 only my.domainname.net:80 => my.ip.addr.ess:443.wrote:$HTTP["scheme"] == "http" { # capture vhost name with regex conditiona -> %0 in redirect pattern # must be the most inner block to the redirect rule $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") }}
Rispondi con citazione | Segnalare
vesey wrote:Are you using also using port forwarding function in Dynu control panel as well? If you use Dynu port forwarding, your domain my.domainname.net will be pointing to the IP address of Dynu port forwarding server. So if you try to go to my.domainname.net:80, it is not going to your web server, instead, it is going to Dynu port forwarding server. I suggest that you disable port forwarding and try.
Rispondi con citazione | Segnalare
Yeah there such a think indeed to enforce that, simple 'redirection' in the default vhost config entry would do that.
Redirect permanent / https://url.of you.website.on.ssl/Remark the / in the line is not a mistake, it signifies the get request base (ex GET /)
Rispondi con citazione | Segnalare
blackbarret wrote:Yeah there such a think indeed to enforce that, simple 'redirection' in the default vhost config entry would do that.Redirect permanent / https://url.of you.website.on.ssl/Remark the / in the line is not a mistake, it signifies the get request base (ex GET /)
Rispondi con citazione | Segnalare
davidart wrote:unfortunately this doesn't fix the problem. I'm able to redirect traffic from http to https using$HTTP["scheme"] == "http" { $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") }}This allows access to my server with "my.domain.name:81" (81 being the server.port) but I am unable to port forward default port 80 requests to port 81 (in dynu webredirect). So I can't use a simple "my.domain.name" and access my server.I need to be able to port forward my.domain.name:80 => my.domain.name:81 and I'm only given the option of my.domain.name:80 => my.dynamic.ip.address:81blackbarret wrote:Yeah there such a think indeed to enforce that, simple 'redirection' in the default vhost config entry would do that.Redirect permanent / https://url.of you.website.on.ssl/Remark the / in the line is not a mistake, it signifies the get request base (ex GET /)
Rispondi con citazione | Segnalare
blackbarret wrote:Are we talking about apache here????davidart wrote:unfortunately this doesn't fix the problem. I'm able to redirect traffic from http to https using$HTTP["scheme"] == "http" { $HTTP["host"] =~ ".*" { url.redirect = (".*" => "https://%0$0") }}This allows access to my server with "my.domain.name:81" (81 being the server.port) but I am unable to port forward default port 80 requests to port 81 (in dynu webredirect). So I can't use a simple "my.domain.name" and access my server.I need to be able to port forward my.domain.name:80 => my.domain.name:81 and I'm only given the option of my.domain.name:80 => my.dynamic.ip.address:81blackbarret wrote:Yeah there such a think indeed to enforce that, simple 'redirection' in the default vhost config entry would do that.Redirect permanent / https://url.of you.website.on.ssl/Remark the / in the line is not a mistake, it signifies the get request base (ex GET /)
Rispondi con citazione | Segnalare
Autore | Argomento: force primary domain name to use SSL |
---|---|
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL sabato 20 gennaio 2018 18:22
I wish to force my primary Domain name to use an ssl connection.1. If I redirect with Port forward from 80 to 443 it uses my current Dynamic IP address instead of my current main domain name so my SSL cert which uses my domain name doesn't match the destination which is the IP address an dI get a verification error.2. If I try url forward to https://my.domain.name:443 it won't allow it saying domain name and the redirect url are the same.So is there a method that will alias http://my.domain to https://my.domain:443 ?
|
anthonywebuser Iscritto: 23/06/2017 |
force primary domain name to use SSL martedì 23 gennaio 2018 10:50
I would suggest using web server settings to redirect http to https. I know IIS allows you to do so: HTTP to HTTPS redirects on IIS 7.x and higher. What web server are you using?
|
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL martedì 23 gennaio 2018 11:54
|
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL martedì 23 gennaio 2018 15:11
This seems to be an accepted lighttpd.conf entry for forwarding http to https.
|
vesey Iscritto: 23/06/2017 |
force primary domain name to use SSL domenica 28 gennaio 2018 11:39
|
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL domenica 28 gennaio 2018 12:11
|
blackbarret Iscritto: 26/04/2017 |
force primary domain name to use SSL martedì 30 gennaio 2018 15:02
Yeah there such a think indeed to enforce that, simple 'redirection' in the default vhost config entry would do that.
Redirect permanent / https://url.of you.website.on.ssl/Remark the / in the line is not a mistake, it signifies the get request base (ex GET /) |
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL lunedì 5 febbraio 2018 10:52
|
blackbarret Iscritto: 26/04/2017 |
force primary domain name to use SSL lunedì 5 febbraio 2018 16:30
|
davidart Iscritto: 13/01/2018 |
force primary domain name to use SSL lunedì 5 febbraio 2018 16:36
|
Al momento è giovedì 19 dicembre 2024 10:05 US Mountain Standard Time
giovedì 19 dicembre 2024 10:05