Question
Does anyone know of a mod_rewrite or similiar that will rewrite cpanel temp urls to remove the tilde so instead of
Removing tilde cpanel temp url
Does anyone know of a mod_rewrite or similiar that will rewrite cpanel temp urls to remove the tilde so instead of
it will be
Got the issue after install whm with digitalocean droplet and create a account
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
It is related to mod_userdir do you need this module? If not it can be disabled:
https://documentation.cpanel.net/display/1150Docs/Apache+mod_userdir+Tweak
Change the hostname of cPanel to use a subdomain, something like cp.server.com and also ensure this subdomain’s IP (A record) to point to the Droplet.
https://documentation.cpanel.net/display/ALD/Change+Hostname
Then set the primary domain of your account to server.com. WHM > Modify an Account
Now your website will be accessible at server.com
cPanel will be accessible at cp.server.com:2082 (or 2083 for SSL)
WHM will be accessible at cp.server.com:2086 (or 2087 for SSL)