subdomain directory question

muks

New member
Joined
Feb 14, 2007
Messages
1
when we create a subdomain say

subdomain.mydomain.com

we can also access it by

mydomain.com/subdomain

right?

my question is how can deactivate the directory such that when you go to mydomain.com/subdomain you'll get a 404 error? but users will still be able to access subdomain.mydomain.com

thanks in advance
 
I do not believe that this is currently possible with the way DirectAdmin handles subdomains. The only way to do it would be to create the subdomain as a full domain. You could probably also write a .htaccess file or something to redirect the site from www.mydomain.com/subdomain to subdomain.mydomain.com.
 
Back
Top