how do i hide NS pages

maguxa

Verified User
Joined
Jul 8, 2019
Messages
7
each time i open my ns domain, example ns1.domain.com it show the pages of apache functioning normally, how do i block this from people open this pages or show that message?.
 
Hello,

Add ns1.domain.com as a domain into DirectAdmin at user level and return a custom error page or whatever you want....
... or create mod_rewrite rules under /var/www/html/ and return any error code you might need.
 
thank you, found a way by editing
Code:
/var/www/html/index.html
is more fascinating..
 
Back
Top