Sub-domain forwarding

l0rdphi1

Verified User
Joined
Jun 22, 2003
Messages
1,320
I'm wondering if it'd be possible for DA to have an option on sub-domains that would let me forward them using
Code:
RedirectMatch .* [url]http://www.blah.com[/url]
. Right now I have to go in and modify .htaccess if I want to do this.

Thanks :p
 
We don't at the moment -- I'm not sure if the demand is there. Anyone else want to comment?
 
Well, that's alright. I guess it's not all that hard to go modify htaccess :)
 
Me too!

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.
 
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:
 
ProHS said:
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 ;)
 
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?
 
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
 
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
 
Back
Top