how to avoid IP redirecting to panel?
#1
how to avoid IP redirecting to panel?
Hi.

I have recently installed sentora on my vps server. I had some issues trying to run gnu mailman but I already scratched that and found another solution.

I have correctly installed sentora on its own subdomain (panel.example.com). However, whenever anyone types the ip address of my server, it directs them right to the sentora panel login page. I don't want that. Is there any solution to this?

This is my /etc/hosts


Code:
# Generated by SolusVM 127.0.0.1       localhost localhost.localdomain ::1     localhost localhost.localdomain 71.4.803.688     panel.example.cl 127.0.0.1 panel.example.cl 127.0.0.1 autoreply.panel.example.cl

I tried to edit panel.example.cl on line three to just example.cl, but nothing changed.

I'd appreciate some help.

Thanks in advance.
Reply
#2
RE: how to avoid IP redirecting to panel?
add a .htacces on the panel root ( we actually have one ) and deny access by IP or redirect if you wish.

That would do it.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: how to avoid IP redirecting to panel?
(07-28-2015, 12:17 AM)Me.B Wrote: add a .htacces on the panel root ( we actually have one ) and deny access by IP or redirect if you wish.

That would do it.

M B

I'd really like to know where the panel root is located.
Reply
#4
RE: how to avoid IP redirecting to panel?
/etc/sentora/panel/
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 441 05-27-2025, 06:10 PM
Last Post: DylanForeman
https without certificate redirects to panel iraqiboy90 10 27 ,451 02-28-2021, 11:20 AM
Last Post: iraqiboy90
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 11 ,393 12-23-2020, 03:31 PM
Last Post: djkashdui1

Forum Jump:


Users browsing this thread: 1 Guest(s)