PDA

View Full Version : Sub-domain forwarding


l0rdphi1
06-26-2003, 12:06 PM
I'm wondering if it'd be possible for DA to have an option on sub-domains that would let me forward them using RedirectMatch .* http://www.blah.com. Right now I have to go in and modify .htaccess if I want to do this.

Thanks :p

DirectAdmin Sales
06-26-2003, 08:26 PM
We don't at the moment -- I'm not sure if the demand is there. Anyone else want to comment?

l0rdphi1
06-26-2003, 10:21 PM
Well, that's alright. I guess it's not all that hard to go modify htaccess :)

finlayj
02-14-2004, 09:00 PM
I heartily second this request!

I'm a big user/proponent of subdomain forwarding. Being able to specify the destination for a subdomain from the CP would cut the time on this process by at least 2/3 for me.

jeffery
02-14-2004, 09:54 PM
Support! I like this too~
:D

Peter
02-16-2004, 10:06 AM
Me three...

jmstacey
02-16-2004, 11:21 AM
Me 4

-Jon-

ProHS
02-17-2004, 01:25 AM
Well Sub-Domains make a directory in the main directory anyways so there is really no need for it because all you have to use is use the Site Redirection feature in the DA control panel. :cool:

l0rdphi1
02-17-2004, 09:00 AM
Originally posted by ProHS
Well Sub-Domains make a directory in the main directory anyways so there is really no need for it because all you have to use is use the Site Redirection feature in the DA control panel. :cool: ..but that didn't/doesn't work ;)

ProHS
02-17-2004, 09:02 AM
Yes it does i use it all the time.

l0rdphi1
02-17-2004, 09:04 AM
Didn't work for me when I posted this. I'll have to try it some time.

ProHS
02-17-2004, 09:33 AM
Well i am not sure why, did you go to Advanced Menu > Site Redirection and then point it to the directory you want forwarder aka redirect?

dvd3po
02-25-2004, 01:22 PM
I would LOVE this feature as well.

I'm also having problems using try to do this via the current DA tools as well.

1) Went under "Sub Domains" and added SUBD.MYDOMAIN.COM
2) Went to "Advanced Tools" -> "Site Redirects" and added "/SUBD" under "Local URL" and "http://redirected.com" under "Destination URL"
3) http://www.mydomain.com/subd redirects SUCCESSFULLY
4) http://subd.mydomain.com returns a "Forbidden - You don't have permission to access / on this server." error

overhosted
02-26-2004, 06:12 AM
most of my clients would like to see a feature like this!

:D

DirectAdmin Support
02-26-2004, 10:58 AM
dvd3po:

the forbidden error is from the fact that you probably don't have an index.html file in that directory. Until the feature is implemented, just create an .htacess file in the public_html/subd directory that shows:

Redirect / http://redirected.com

Right now, an .htaccess is placed in the public_html directory and the redirect is set as:

Redirect /subd http://redirected.com, which works for domain.com/subd, but not for subd.domain.com. The first Redirect will solve that.

John