By Terri
I am new at running my own server, but have successfully installed WHM and cPanel and can access them through https://myiP:2087 My question is…is there a way to give it a simpler address, such as whm.mydomain.com?
Thanks for any help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
cPanel & WHM contains a feature that does what you are asking. The feature is called ‘Proxy Sub Domains’. Here’s how to enable it:
More information is available in the documentation: https://documentation.cpanel.net/display/1152Docs/Tweak+Settings+-+Domains#TweakSettings-Domains-Proxysubdomains
Note: since cPanel & WHM installs the Apache web server, you already have everything you need to access the cPanel & WHM service via ports 80 and 443.
To the best of my knowledge, the cPanel/WHM daemon does not restrict access to a particular name but instead respond to any name pointed at the droplet. So, handling the name is juts a matter of pointing the name to your droplet.
Translating port 2087 to port 80 or 443 (what is used if no port is specified) would require something like a second server running nginx as a reverse proxy since port 80 and 443 on your droplet are already being used by your public web services.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.