clickk
01-29-2007, 07:57 PM
I'm noticing that none of my subdomains are working properly. The way I have my website set up is that when you go to my website (http://hihiclickk.com) it would redirect to hihiclickk.com/gen2/. The way I'm getting this redirect done is with the header("Location ..."); line in my index.php file. This works fine for me until I try to use a subdomain. Whenever I do ANYTHING for a subdomain under hihiclickk.com (so even if I try ljsdlkfjsldkjflkjsdf.hihiclickk.com) it would still automatically redirect me to the gen2 directory. Obviously, lkjsdlkfjksjdlkfjsdf.hihiclickk.com isn't going to do me any good, but this problem persists even with proper subdomains, such as bctrick.hihiclickk.com.
What is the problem?? How do I fix it? Could it possibly be the method I'm using to redirect? If so, what other method should I be using to get this task done? On a side note, if I access the subdomain not as a subdomain, but as a regular directory underneath hihiclickk.com (ie. http://hihiclickk.com/bctrick/) then it works properly. It' just whenever I have something.hihiclickk.com it would automatically redirect to my gen2 directory. Thanks for the help in advance.
What is the problem?? How do I fix it? Could it possibly be the method I'm using to redirect? If so, what other method should I be using to get this task done? On a side note, if I access the subdomain not as a subdomain, but as a regular directory underneath hihiclickk.com (ie. http://hihiclickk.com/bctrick/) then it works properly. It' just whenever I have something.hihiclickk.com it would automatically redirect to my gen2 directory. Thanks for the help in advance.