How to force https with redirect subdomain

Discussion in 'General' started by binaryrogue, Mar 8, 2010.

  1. binaryrogue

    binaryrogue Member

    I have a subdomain set up as:

    Host -> downloads
    Domain -> domain.com
    Redirect Type -> L
    Redirect Path -> /downloads/

    If I go to downloads.domain.com, it goes to http://downloads.domain.com and works fine. I want to force it to go to https://downloads.domain.com instead. Is that possible?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. binaryrogue

    binaryrogue Member

    I tried that to before and it doesn't work. The browser (IE) will try to load and timeout. Firefox will tell something is wrong with my server.

    I think it doesn't know about the download folder in my root directory if I change it to this.
     
  4. binaryrogue

    binaryrogue Member

    My "downloads" folder is in my root directory and I also created a subdomain of "downloads.domain.com" in DNS.

    If I set the redirect like below:

    ===
    Host -> downloads
    Domain -> domain.com
    Redirect Type -> L
    Redirect Path -> https://domain.com/downloads
    ===

    it works fine. I type in downloads.domain.com in the browser and it redirects to the Redirect Path with no problems. I'm still trying to figure out how to redirect it to https://downloads.domain.com instead. This is killing me!
     

Share This Page