Jump to content


This topic is now archived and is closed to further replies.


Question RE: .htaccess file and redirect

Recommended Posts

I have a hosted Apache website. I do not have a dedicated server, so I (obviously) do not have access to the root directory.


Currently I have a website up and running with the default file (index.html) at www.mydomain.com


I need to create a CNAME or alias called support.mydomain.com and have it actually point/redirect to www.mydomain.com/support


The problem I am running into is that I CAN create the CNAME support.mydomain.com just fine, however I cannot use a slash in the address I want it to point/redirect to.


One of the technicians suggested that I add a .htaccess file that would make use of the redirect command. So far, I have found that the redirect command will no accept a full path in the \"from\" address, even though it is required in the \"to\" address. SO this will not work.


Is there another command I can use? Any help here would be appreciated. I am an Apache neophyte, but trying to learn (slowly).

Share this post

Link to post
Share on other sites

What version of Apache are you running? There was this \"forward slash bug\" awhile back that was giving these kinds of problems. It sounds like a simple misconfiguration in your apache config files if you are running an up to date version of Apache.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.