Page 1 of 1

Apache vhost how i disable default domain

PostPosted: 21. April 2010 10:42
by Tataee
In Apache Vhost i have defined several domain and the first domain is default how i disable that.
For example: if i type my IP in a browser i just wanna see the "Server not found" error from my browser.
Anyone can help me please.

Re: Apache vhost how i disable default domain

PostPosted: 21. April 2010 12:50
by Nobbie
You cannot disable the default domain. You can add a "Deny from All" in the VirtualHost configuration what denies any access to that domain.