[REQ] Subdomain Redirect

Mikej0h

Verified User
Joined
May 13, 2005
Messages
45
A customer just requested to redirect a subdomain.
It's already possible for folder redirects, but not for subdomains.

The solution is to change the httpd.conf file for the user with a subdomain for the domain with an Alias to an other site. This would do the trick, now I have to setup it manually. As said it would be nice if the customer can do this by himself in Usermode.

Thanks in forward.
 
In DA a subdomain is implemented as a folder.

So simply create the subdomain, and then use an .htaccess file to implement the redirect.

Jeff
 
jlasman said:
In DA a subdomain is implemented as a folder.

So simply create the subdomain, and then use an .htaccess file to implement the redirect.

Jeff

Hi jlasman,

What your suggesting is not working.
My customer did the following:
Created a subdomain and then went to "Site Redirection", this part of the site does what your saying here BUT it only works for /folder not for folder.domain.com.

When I take a look to .htaccess it says something like:
Redirect /folder http://newlink

As said this works for www.domain.com/folder, but not for the actually subdomain folder.domain.com.
 
Thanks, ClayRabbit, for writing what I should have written.

I'm sorry I wasn't more clear.

Jeff
 
Both, thanks. This was the solution.

For the record (ppl searching) some keywords:

apache, redirect, htaccess, .htaccess, httpd, redirecting, subdomain, subdomains
 
Back
Top