The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' started by hostyouridea, Sep 29, 2013.

  1. hostyouridea

    hostyouridea Member

    Joined:
    May 29, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. hostyouridea

    hostyouridea Member

    Joined:
    May 29, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    More info... I checked and the DNS entry is not in /var/named - so why does WHM say it exists? Exists where.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
     
  4. hostyouridea

    hostyouridea Member

    Joined:
    May 29, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page