Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Problem with FORCE-HTTPS and wildcard subdomains

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
rraulinio
Posts: 2
Joined: Mon Nov 23, 2015 11:30 pm

Problem with FORCE-HTTPS and wildcard subdomains
  • Quote

Post by rraulinio » Mon Nov 23, 2015 11:34 pm

Hello there,

I have a big problem with those two. Every wildcard subdomain redirects to the main domain if Force-https template is on. If I disable the Force-https template, every wild subdomain redirects to the http:// one, so if I use a script with force ssl in htaccess, there will be an infinite redirect loop because the server is redirect to http and the script will redirect the http to https and so on.

How can I solve this? I just want to have something like force https, or don't know, but when a subdomain (wild card) is accessed I just want it to redirect to https (if accessed on http) and get the content right there. Please help me!
Top

fasterfene
Posts: 2
Joined: Thu Dec 10, 2015 6:47 pm

Re: Problem with FORCE-HTTPS and wildcard subdomains
  • Quote

Post by fasterfene » Mon Dec 14, 2015 1:32 pm

did you find the solution?
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password