This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Issue after port change
#1
Issue after port change
Hi,

I have just changed the default port to harden up my Sentora install but have come across the following issue.

I set up my panel at host1.example.com:8080 and the system hosts websites - a.com, b.com and c.com.

Now if I visit host1.example.com on port 80 it displays a.com but with the host1 url?

Does anyone know a way around this to either show a 404 or blank page when I visit host1.example.com on port 80?

Thanks

Ant
Reply
Thanks given by:
#2
RE: Issue after port change
use a .htacces to enforce panel url/port and send access denied for all those not following the rule.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#3
RE: Issue after port change
Thanks for the reply, where would I put the .htaccess file for the control panel.

Also would you force the new port number with htaccess?

Thanks

Ant
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 1 ,283 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Old issue on Daily Backup iraqiboy90 24 112 ,862 12-26-2020, 12:48 PM
Last Post: conglynina
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 42 ,388 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 1 Guest(s)