How do block access to cpanel or change its URL? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do block access to cpanel or change its URL?

I'm only asking this question here because I know there are alot of experienced developers here. I don't want my domain to be accessed through domain.tld/cpanel or cpanel.domain.tld or domain.tld:2083 BUT domain.tld/custom-link. Is this achievable? I'm hosting on hawkhost.com

9th May 2018, 12:54 PM
Victor Mbamara
Victor Mbamara - avatar
1 Answer
+ 1
No one should be able to access cpanel without a password. To do what you need, insert a folder into your Website's root directory, probably called something like public_html. So if you name this folder "example", then anything inside this folder can be accessed with the following url: Domain.tld/example/
9th May 2018, 4:02 PM
Bagshot
Bagshot - avatar