Thread
:
Redirecting unexisting subdomains to error page
View Single Post
#
4
9th October 2012, 16:46
cfoe
ISPConfig Developer
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 56 Times in 31 Posts
If you use the "*." auto-subdomain on the site you can set a htaccess file with a rewrite for all requests other than
www.example.com
and example.com to reply with a 404.
__________________
Christian Foellmann
OpenSource-Projects
-
GitHub-Projects
-
SVN-Mirrors on GitHub
-
Foe Services
cfoe
View Public Profile
Send a private message to cfoe
Visit cfoe's homepage!
Find all posts by cfoe