cauelt Posted June 8, 2006 Posted June 8, 2006 Hello, I want to have a directory in my account just for the subdomains redirect, something like public_html/subdomains/name_of_the_subdomain and redirect each subdomain to your directory inside this directory, for example the subdomain webmail i like to redirect to the directory public_html/subdomains/webmail How I can do it? Thanks, Caueh Quote
TCH-JimE Posted June 8, 2006 Posted June 8, 2006 Hello, I believe that each "name fsubdomain.html or .php" will need a redirect in some form which will have to manually entered into each page. This can be done via meta refresh or javascript JimE Quote
abinidi Posted June 8, 2006 Posted June 8, 2006 Caueh, Did Jim's answer help? Let us know if we can be of further assistance. Quote
cauelt Posted June 8, 2006 Author Posted June 8, 2006 Caueh, Did Jim's answer help? Let us know if we can be of further assistance. Hi Abinidi! I didn't understand the Jime's answer, but I think that it do not answer my question, because it envolves javascript and meta tags and my question is only server-side. I will try to explain better what I want: normally a subdomain is only a shortcut to a normal directory. In the TCH cPanel, when you create a subdomain, is created too a directory for that subdomain. I want use another directory for that subdomain. I need a english course urgent!! Thanks for the help! Caueh Quote
abinidi Posted June 8, 2006 Posted June 8, 2006 Caueh, I think that what you want to accomplish would be best accomplished by editing your .htaccess file. Your .htaccess file allows you to change how users are redirected to various parts of your site, even such that directories shown in the URL aren't truly the ones that exist on the server. I, however, am not an .htaccess guru. Maybe TCH-David or another of our .htaccess gurus can chime in to this discussion to let you know how you would modify your .htaccess file to accomplish what you are attempting to do. Good luck! PS: I notice that you are from São Paulo. I lived in Zona Norte in São Paulo for a couple of years in the late 90s. I loved it there! You live in a very beautiful part of the world Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.