After installing Webmin (an alternative to cPanel) on Ubuntu I could not access it immediately using either http://localhost:10000 or https://localhost:10000. I edited the configuration file at /etc/webmin/minserv.users and added my login userid beneath the root user entry as below:
ubuntu:*
The above entry will allow current user to access Webmin. Now to restart Webmin I entered the following command:
$sudo /etc/init.d/webmin restart
Sudo is required as I am not logged in as root, which is usually the case with Ubuntu. Now I can access the Webmin control panel browsing to http://localhost:10000.
I can’t still access Webmin from remote machine. Will update once it is done.