I'm putting them in the subdomain root. Should they go in the root of the domain name? So for example do they go here www.domain.com/.htaccess or here http://sub.domain.com/.htaccess?
I'm getting a internal error when I go to the site. Is this a situation where I would just need to modify the htaccess file for the default site for the subdomain. That way they just get redirected to the correct subdomain from the default domain?
Thanks for the quick reply. Yeah they are on the same server. The problem is I move the default domain for testing sometimes. So the site that shows up if you just type in the IP (or mistype a subdomain) may be a random website I'm working on, not even related to the the main domain.
Is it possible to have a redirect using htaccess that rewrites the a url that uses http://www.sub.domain.com to point to http://sub.domain.com? Sometimes users forget to NOT type in www. when trying to access a subdomain and they end up at my default site on my server. Which is a bit confusing...
First post! Hey guys. I'm putting together a back-end client section to my web-site. My goal is to have clients log-in and review designs, upload / download files and possibly make comments. I'm looking for something that is going to make my life easier, not create more work managing this. I'd...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.