Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Install purchased SSL on CNAME

Discussion in 'Security' started by samuelmf, Jul 11, 2018.

  1. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    108
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Perú
    Hi i had the cname:

    example.com that lives on server 1 and that cname points to example.net that lives on server 2

    example.com --> server 1
    example.net --> server 2

    If i enter example.net by https i get a green lock on the address bar, thatis ok

    But if i enter example.com by https i get the red warning.

    I need to install a ssl cert on example.com to fix that green lock.

    How can i do to install the cert on the cname example.com, is possible do that?

    Thanks in advance.
     
    #1 samuelmf, Jul 11, 2018
    Last edited by a moderator: Jul 11, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @samuelmf,

    You'd need to install the SSL certificate for example.com on the server that it resolves to and is configured on. SSL certificates installed for that domain name on the cPanel & WHM server are not active if the domain name resolves to another server. The better approach in this case is to setup "example.com" as an addon domain or alias on "Server 2" and use an "A" record (as opposed to a CNAME record) to point it to the IP address associated with that domain name on the second server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    108
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Perú
    let's see if I understood:

    With the right domain names

    example.cr.org.mx --> server 1 (ip: 184.164.xxx.xx)

    domain.net (ip:108.170.xx.xx) --> server 2 On this server i must install example as addon? and add the A record?
     
    #3 samuelmf, Jul 20, 2018
    Last edited by a moderator: Jul 20, 2018
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,339
    Likes Received:
    402
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There should be no reason to post actual domains or IP addresses on the forums, as a matter of privacy please don't.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    108
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Perú
    Ohh sorry for the error
     
    Infopro likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You should install the SSL certificate on the server that the domain name serves it's website content on. If the domain name serves it's content from "Server 1", then install the SSL certificate on "Server 1". If the domain name serves it's content from "Server 2", then install the SSL certificate on "Server 2".

    Once the SSL certificate is installed, then you can setup the DNS records on the server that hosts the DNS for the domain name so that it points to the correct server.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice