I have a domain with a few subdomains on it. The directory tree is like the following. - /public_html/ - /public_html/blah (Subdomain Directory) - /public_html/blah2 (Subdomain Directory) Code (markup): I can access the subdomain at http://blah.domain.com and http://blah2.domain.com, but I can also access it at http://www.domain.com/blah and http://www.domain.com/blah2. What changes can I make to the Apache httpd.conf file to make the www.domain.com form go to a 404 page? Thank you. Edward
Why not just to upload an empty html file index.html or you may want to remove option Indexes (Options -Indexes) for the /full_path_here/public_html/ directory in http.conf or .htaccess