View Full Version : [REQ] Subdomain Redirect
Mikej0h
05-24-2005, 11:02 AM
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.
nobaloney
05-24-2005, 01:28 PM
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
Mikej0h
05-24-2005, 03:36 PM
Originally posted by jlasman
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.
ClayRabbit
05-25-2005, 02:04 AM
Just put .htaccess with
Redirect / http://newlink/inside /folder
nobaloney
05-28-2005, 12:13 PM
Thanks, ClayRabbit, for writing what I should have written.
I'm sorry I wasn't more clear.
Jeff
Mikej0h
05-28-2005, 12:35 PM
Both, thanks. This was the solution.
For the record (ppl searching) some keywords:
apache, redirect, htaccess, .htaccess, httpd, redirecting, subdomain, subdomains
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.