|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jan 2004
22 posts
Gave thanks: 0
Thanked 0 times
|
I have a domain and I'm trying to set up a subdomain to point to a specific folder on my domain. So for example, using Cpanel, I've set up a subdomain called folder that redirects to http://mydomain.com/folder
However, if I type http://folder.domain.com, once I get redirected to http://domain.com/folder, the url in my broswer address bar changes to http://domain.com/folder. I'm trying, without success to make sure that if I was to type http://folder.domain.com, I will get redirected to http://domain.com/folder, but in my address bar, the url would remain as http://folder.domain.com Here's the steps which I've taken to redirect My Subdomain ? Am I forgetting to do something ? 1. Log into Cpanel and click on Subdomains 2. Add folder.mydomain.com 3. Select folder.mydomain.com and click on Setup Redirection 3. Type http://mydomain.com/folder and click on Save. |
|
|
|
|
|
#2 (permalink) |
|
Peaches!
Excelling Contributor
Joined in Jul 2003
Lives in Ottawa, Ontario, Canada
Hosted on Jose, Pass19
564 posts
Gave thanks: 0
Thanked 0 times
|
The redirection thing won't do what you're trying to do. What you need (I think, and I'm probably wrong) is something like mod_rewrite.
|
|
|
|