SOLVED How to avoid SSL certificate warnings when accessing cPanel?

ImperialTrader

Well-Known Member
Aug 31, 2014
87
11
8
Egypt
cPanel Access Level
Root Administrator
How to host "hostname" on the same server?
My server "hostname" is (server.domain.com) where my clients are points to my server using nameservers (ns1.server.domain.com & ns2.server.domain.com)

Now I would like to host (server.domain.com) to the same server but unfortunately I can't do that.

Can't host hostname.png
 

Eminds

Well-Known Member
Nov 10, 2016
319
30
28
India
cPanel Access Level
Root Administrator
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.
 

ImperialTrader

Well-Known Member
Aug 31, 2014
87
11
8
Egypt
cPanel Access Level
Root Administrator
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.
Hi,
I think you didn't read my Thread carefully!
Here is my question:

How to host "hostname" on the same server?
My server "hostname" is (server.domain.com) where my clients are points to my server using nameservers (ns1.server.domain.com & ns2.server.domain.com)
Now I would like to host (server.domain.com) to the same server but unfortunately I can't do that.

Can't host hostname.png
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

ImperialTrader

Well-Known Member
Aug 31, 2014
87
11
8
Egypt
cPanel Access Level
Root Administrator
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.
What if I would like to add SSL for my server's hostname?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter

ImperialTrader

Well-Known Member
Aug 31, 2014
87
11
8
Egypt
cPanel Access Level
Root Administrator
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.
Yea I know this fee cPanel-signed SSL certificate.
I want to use it but can I redirect the visitors from my Non-SSL hostname to https://hostname without enabling the following option?
Tweak Settings >> Security >> Require SSL for cPanel Services >> Off

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)
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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)
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:

Tweak Settings - Redirection - Version 82 Documentation - cPanel Documentation

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.
 

ImperialTrader

Well-Known Member
Aug 31, 2014
87
11
8
Egypt
cPanel Access Level
Root Administrator

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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?
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.
 
  • Like
Reactions: ImperialTrader