cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Login Page Hooks

Keith Poole (Agilis IT) shared this idea 4 years ago
Open Discussion

We would like to redirect https://customerdomain.tld:2083 to https://serverfqdn.tld:2083 for logging and security reasons (eg: cphulkd issue as per previous feature req raised). The issue here is that after liaising with cPanel L3 support, there is no way to currently do this.


If there was a JS or PHP hook that a plugin could use, we could very easily implement something like (pseudo)


IF $HTTP_HOST != GETHOSTNAME()

HEADER(301, GETHOSTNAME() + HTTP_PORT)


Thanks

Leave a Comment
 
Attach a file