These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtual server redirects to sub-server on the new forum.
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.
Thanks