VPS cPanel 11.34 - Creating a FQDN for mail to add SSL.

hostyouridea

Member
May 29, 2012
7
0
51
cPanel Access Level
Root Administrator
Hi, I am trying to add a SSL to to my mail host. e.g. mail.xdomainname.com

In order to do that I need to create an account in WHM and I believe a former employee may have created the account mail.xdomainname.com but deleted it. Anyway I cannot see it listed in the domains in WHM. When I try to create a new account for that domain I get

Account Creation Status: failed

Sorry, a DNS entry for mail.domainname.com already exists, please delete it first (from all servers in the DNS cluster).

I don't really want to delete the DNS entry since we need it, but I need to create an account for it, right?
It is not visible in domain list in WHM, although I remember it being there once in the past, and assume my sys admin at the time removed it. I want it to give secure email, but I cannot allocate a dedicated IP to it and add the SSL certificate to it. Maybe the DNS list needs rebuilding. Can you tell me how it is I cannot see a domain that WHM insists is present.


Many thanks in advance for some assistance.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

If you created the account on your server and it's not showing in WHM >> list account then you will have to check that account logs through SSH using the following command

Code:
cat /var/cpanel/accounting.log | grep DOMIAN_NAME
You will get all account create/delete logs in this file

And if your account is deleted from your server and you are getting the DNS error while creating the account then you will have to delete that dns entry from your server and once your create the domain that mail.domain DNS entry will be create automatically on your server

And regarding the ssl for your mail, You will have to install SSL on your server hostname so that you can use that SSL for all services : Please check Manage Service SSL Certificates
 

hostyouridea

Member
May 29, 2012
7
0
51
cPanel Access Level
Root Administrator
I found it was a MX record, so it is removed and its fine.

Can you advise me the steps to now add a PositiveSSL from Comodo to an unused IP.
II see there an choices for Activation type: Apache with OpenSSL, and Apache 2? I run run Apache 2.4, so which is more appropriate, and does it matter which one I chhose?


Thanks

-Michael
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

I believe you could choose either option, but Apache 2 seems more relevant. PositiveSSL would be able to better answer that question. Keep in mind that certificates for services such as Exim are installed via:

"WHM Home » Service Configuration » Manage Service SSL Certificates"

Thank you.