How do I redirect / CPanel URL

ervinjason

New member
Joined
Jul 19, 2022
Messages
2
Location
San Ramon, CA
To reduce the number of confusions I would like to create a sort of alias in Apache, so when my customers type

domain(.)com/cpanel
they are redirected to
domain(.)com:2222

Can anybody give me an idea for having this thing working?

Thanks in advance
 

apogee

Verified User
Joined
Jul 6, 2019
Messages
182
Location
Europe
Code:
cd /usr/local/directadmin/custombuild
echo "cpanel=redirect.php" >> custom/webapps.list
./build rewrite_confs
 
Top