Sentora Support Forums

Full Version: how to ns1 & ns2 access block?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey everyone,
i have ns1.mydomain.tld ns2.mydomain.tld. theyre working fine. but on http access theyre open server panel. Is there a way to i change this? or should i do dns forwarding?
You could add this to your /sentora/panel/.htaccess file:
PHP Code:
# Optionally you can uncomment the below line and configure your domain to only allow access from the FQDN.
RewriteCond %{SERVER_NAME} !^panel\.domain\.com$
RewriteRule ^ - [F