I have a virtual server domain1.com that is empty, with no feature enabled. It has many sub-servers hosted under it, domain2.com , domain3.com , etc…
When I type in the adress domain1.com in my browser, it redirects to subserver domain2.com. How can I prevent this behavior and just display a “forbidden” page?
I’ve tried putting a .htaccess file with “Deny from all” in my ~/public_html folder but it’s not working.