ut3hound
11-25-2007, 06:27 PM
I am trying to find the .htaccess file for my subdomain so I can stop people from being able to use the subdomain to get to my addon domain. The instruction to do that (found here (http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=152))
say:
Put this in the .htaccess file located at the subdomains folder
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.subdomain.domain.com$
RewriteRule .* http://otherdomain.com/ [r]
However, I cannot find an .htacess file in my subdomain folder. I look in my www/subdomain folder but do not see anything. Should I be looking somewhere else?
Thanks.
say:
Put this in the .htaccess file located at the subdomains folder
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.subdomain.domain.com$
RewriteRule .* http://otherdomain.com/ [r]
However, I cannot find an .htacess file in my subdomain folder. I look in my www/subdomain folder but do not see anything. Should I be looking somewhere else?
Thanks.