Okay, but how can I access the "hostname" cPanel?There's already a virtualhost for the hostname of the server, and the document root assigned to this is /var/www/html.
Hi,In order to access the cpanel you need to add an account like a website account and then you can access cpanel as while adding a website account you get different username and password than you use to login to WHM.
WHM and Cpanel are 2 different parts. WHM is for server administration and cpanel is for website administration.
You can login to cpanel using root user name and its password.
What if I would like to add SSL for my server's hostname?Hello @ImperialTrader,
The server's hostname is a label by which to identify your physical server. It's not intended or supported for use as a separate cPanel account or as an addon domain or alias to an existing cPanel account.
It seems like you're looking to setup a custom "Default Website Page", or to setup a domain to resolve to the cPanel & WHM server before DNS propagation completes. The following documents are helpful if either is the case:
Web Template Editor - Version 82 Documentation - cPanel Documentation
How to Modify Your Hosts File - cPanel Knowledge Base - cPanel Documentation
Let me know if this helps.
Thank you.
Hello @ImperialTrader,What if I would like to add SSL for my server's hostname?
Yea I know this fee cPanel-signed SSL certificate.Hello @ImperialTrader,
By default, a free cPanel-signed SSL certificate is automatically generated for your server's hostname as part of the nightly cPanel update. Keep in mind this certificate is only applicable to the services documented on the link below:
Manage Service SSL Certificates - Version 82 Documentation - cPanel Documentation
Thank you.
This behavior is controlled through the options found under the Redirection tab in WHM >> Tweak Settings. You can read about how this works on the document below:Because I need all my clients to be redirected to their domain when they access their cPanel and if they don't have SSL, I don't want them to see "X" cross off line on their (https)
Yea I know its free for all my clients but I see it will expire after 3 months only!Keep in mind that all of your domains are eligible for a free signed SSL certificate as part of the AutoSSL feature. You can read more about SSL certificates on our AutoSSL document:
Manage AutoSSL - Version 82 Documentation - cPanel Documentation
Let me know if you have additional questions.
Thank you.
The certificates are replaced automatically every 3 months as long as the domain remains hosted on the cPanel & WHM server and continues to pass the domain validation process.Yea I know its free for all my clients but I see it will expire after 3 months only!
Or do you mean its gonna be renewed automatic after the 3 months?
Ohh okay perfect, that’s what I exactly need.The certificates are replaced automatically every 3 months as long as the domain remains hosted on the cPanel & WHM server and continues to pass the domain validation process.
Thank you.