Direct ip address access disable
Hi guys,
I'm having a problem. I need your help.
When the server ip address is entered as , the primary domain appears. I want to block direct ip address access.
How can I do it?
Best Regards
-
Can you share what solution you decided to use? 0 -
Can you share what solution you decided to use?
Apache Configuration > Include Editor > Virtual Host Post > All version ServerName 0.0.0.0 DocumentRoot /usr/local/apache/htdocs ServerAdmin webmaster@cpanel.net suPHP_UserGroup nobody nobody UserDir disabled ServerName 0.0.0.0 DocumentRoot /usr/local/apache/htdocs ServerAdmin webmaster@cpanel.net suPHP_UserGroup nobody nobody UserDir disabled0 -
Thanks for sharing! 0
Please sign in to leave a comment.
Comments
5 comments