Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th March 2010, 23:29
binaryrogue binaryrogue is offline
Member
 
Join Date: Apr 2008
Posts: 89
Thanks: 5
Thanked 0 Times in 0 Posts
Default How to force https with redirect subdomain

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?
Reply With Quote
Sponsored Links
  #2  
Old 9th March 2010, 08:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,507
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Use as redirect path:

https://downloads.domain.com
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th March 2010, 23:34
binaryrogue binaryrogue is offline
Member
 
Join Date: Apr 2008
Posts: 89
Thanks: 5
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 13th March 2010, 02:55
binaryrogue binaryrogue is offline
Member
 
Join Date: Apr 2008
Posts: 89
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

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!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Subdomain works (for documentation) moglia Developers' Forum 7 19th June 2010 22:14
Force https on a directory TheMaximumWeasel General 1 25th June 2007 07:24
Subdomain redirect to script as argument cooljai Server Operation 0 12th June 2007 16:41
http redirect to https derfy Feature Requests 2 24th June 2006 21:04
redirect an application (egroupware) from http to https blackflag Installation/Configuration 13 21st February 2006 21:44


All times are GMT +2. The time now is 18:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.