Sentora Support Forums

Full Version: [Help] ip redirect to sentora panel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.
may i know, how to make my ip not redirecting to sentora panel and make it will redirecting to error pages.

for example : 

currently http://12.11.11.11 is redirect to sentora panel and how to make it redirect to error page http://12.11.11.11 result in error 404.

Thank You. Huh Huh Huh
In Sentora go to "Server Admin" > "Module Admin" > "Apache Config" and copy&paste the code below in "Global Sentora Entry".
Select "Force Update" at the bottom and save.
Run the daemon manually thru SSH (php -q /etc/sentora/panel/bin/daemon.php) to speed things up.
And it should work, hopefully.

Code:
</virtualhost> <VirtualHost *:80>  ServerName xx.xx.xx.xx  Redirect 404 /

Change the "xx.xx.xx.xx" with your own IP address.
(07-12-2015, 06:54 AM)gemuruhco Wrote: [ -> ]Hello.
may i know, how to make my ip not redirecting to sentora panel and make it will redirecting to error pages.

for example : 

currently http://12.11.11.11 is redirect to sentora panel and how to make it redirect to error page http://12.11.11.11 result in error 404.

Thank You. Huh Huh Huh
Or you can try .htaccess setting.
Here is the tutorial :
https://www.gurisa.com/mengarahkan-akses...-htaccess/
I've looked into your profile, and i think you can read indonesian language.