cPanel User Domain
Is there a way to access a user's
public_html
files without setting an actual domain? I have a temporary, not real domain name set up for my user kanboard
called kanboard.tld
. I want to be able to access this using my server's ipv4 address. I've found ways to do this online but I'm just not sure if that's the only way: something like <ipv4>/~kanboard/index.html
.
Hard to formulate my question if that doesn't make sense but in essence I just want an easy way to store my files and access them publicly using cPanel.1 Reply
I got it, that was a lot of work. I had to go into EasyApache 4 in WHM and disable
mod_rui2
as described here: https://support.cpanel.net/hc/en-us/articles/360053189633-How-to-resolve-Using-both-mod-userdir-and-mod-ruid2-is-not-a-supported-configuration. I saved this as a custom profile in cPanel called mod_rui2 - Off
. You then have to "Provision" this profile / configuration.
Then, I had to follow this guide: https://docs.cpanel.net/whm/security-center/apache-mod_userdir-tweak/
I'll probably write a blog article on this pretty soon