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!

Domain Name Pointing to Wrong Account?

Discussion in 'Bind/DNS/Nameserver' started by maysam, Apr 10, 2019.

Tags:
  1. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    hi all

    we have made a lot of changes in our server to connect it under WAF device

    but we face problems with SSL certificate and WAF with security team are working to solve it

    my question is when i request certain site example1.com hosted on our server it automatic open site example2.com which is also hosted in the same server under another cpanel account !!!

    why this be done ???

    no redirects in both accounts

    also when i use plain server ip it open the same site example2.com !!

    what can i do to check the source of this issue??

    note : the we have 20 accounts on this server just one redirect as i mention above
    help me ASAP
    thanks in advance
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,372
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Not enough details to know definitively, but this behavior can be explained if you are accessing using https and exmaple.com does not have any kind of ssl certificate installed. If there is no ssl certificate installed, it will go to the first site in the config that has one.

    What you need to do is install an SSL certificate on example.com. It can even be self-signed or whatever, but it has to have one if they are sharing the same IP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    thank you for your reply

    SSL is installed to the whm accounts through AutoSSL provided by WHM , so if i want to enable ssl to accounts i did from manage autossl and enable for all users


    we still face problem with ssl certificate and fortiweb , we declare the main host ssl certificate on fortiweb so we can open whm and cpanel for main host in https and it is worked well but the accounts hosted on it didn't work well still we have to click proceed to unsafe site and some sites open after long long delay


    beside the problem of two example.com i mentioned i checked autossl and it is enabled on both also when i browse to the server IP it open the link example2.com as i mentioned at first
     
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,372
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Just enabling autossl may not work, you said there was a waf involved and that may be preventing autossl from actually installing a certificate. Did you look to see if there was an actual certificate installed for, using your exmaple, example.com?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    yes both domains in AutoSSL manager said the ssl enabled
     
  6. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    hi

    just to ensure something , when i opened example1.com ssl boxes are empty ?!!!! how to make sure that autossl is running on it and it fills the needed keys?
     

    Attached Files:

  7. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    after i run autossl for all user the result for site with problem as picture
     

    Attached Files:

  8. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,372
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    You should look in manage SSL certificates and see if there is actually an SSL installed on the domain. If there is not, manually run autossl on the user and check the logs and see what it says it should explain why its failing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator

    thankyou for your reply

    i run autossl from autossl manage for the user with problem and the result was :

    Code:
     Checking websites for “web43” …
     10:32:06 PM Analyzing “lxxx.ps” …
     10:32:06 PM User-excluded domains: 4 (mail.lxxx.ps, webmail.lxxx.ps, cpanel.lxxx.ps, webdisk.lxxx.ps)
     ERROR TLS Status: Defective
     ERROR Defect: NO_SSL: No SSL certificate is installed.
     10:32:06 PM Performing DCV (Domain Control Validation) …
     10:32:30 PM WARN Local HTTP DCV error (lxxx.ps): “lxxx.ps” does not resolve to any IP addresses on the internet.
     10:33:06 PM WARN Local HTTP DCV error (www.lxxx.ps): “www.lxxx.ps” does not resolve to any IP addresses on the internet.
     10:33:30 PM ERROR Local DNS DCV error (lxxx.ps): The DNS query to “_cpanel-dcv-test-record.lxxx.ps” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=DMUR1zx2pmJjtmc3f__IeHZ3VAurGaYccIwMF79FWatYwhil_cPj3q3wkiZaRkLS”.
     ERROR Local DNS DCV error (www.lxxx.ps): The DNS query to “_cpanel-dcv-test-record.lxxx.ps” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=DMUR1zx2pmJjtmc3f__IeHZ3VAurGaYccIwMF79FWatYwhil_cPj3q3wkiZaRkLS”.
     10:33:30 PM Analyzing “lxxx.ps”’s DCV results …
     10:33:30 PM ERROR Impediment: TOTAL_DCV_FAILURE: Every domain failed DCV.
     10:33:30 PM The system has completed the AutoSSL check for “web43”.
    
    i make sure that domain is registered and active

    but still the ssl not installed on that domain

    how can i solve the problem ?
     
    #9 maysam, Apr 11, 2019
    Last edited by a moderator: Apr 11, 2019
  10. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    Code:
    Checking websites for “web217” …
    12:38:33 PM Analyzing “xxx.xx.ps” …
    12:38:33 PM ERROR TLS Status: Defective
    ERROR Certificate expiry: 4/10/19, 12:00 AM UTC (1.4 days ago)
    ERROR Defect: OPENSSL_VERIFY: The certificate chain failed OpenSSL’s verification (0:10:CERT_HAS_EXPIRED).
    12:38:33 PM Performing DCV (Domain Control Validation) …
    12:39:03 PM ERROR “xxx.xx.ps” is not a registered internet domain.
    ERROR “www.xxx.xx.ps” is not a registered internet domain.
    ERROR “mail.xxx.xx.ps” is not a registered internet domain.
    ERROR “cpanel.xxx.xx.ps” is not a registered internet domain.
    ERROR “webdisk.xxx.xx.ps” is not a registered internet domain.
    ERROR “webmail.xxx.xx.ps” is not a registered internet domain.
    12:39:03 PM Analyzing “xxx.xx.ps”’s DCV results …
    12:39:03 PM ERROR Impediment: TOTAL_DCV_FAILURE: Every domain failed DCV.
    12:39:03 PM The system has completed the AutoSSL check for “web217”.
    
    
    why this issue appear ,,, alot of users when i check their ssl the result as abot ,what is DCV ? why the domain is not registered internet domain but it is registered and hosted ?
     
    #10 maysam, Apr 11, 2019
    Last edited by a moderator: Apr 11, 2019
  11. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,372
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Well according to the logs your server can not resolve the domain you are trying to get an SSL certificate installed on. That either means the DNS for this domain is broken or that there is something wrong with the resolvers.

    In shell what is the result of the command

    host domainforssl.com

    What is in your /etc/resolv.conf

    What is the output of the command

    host domainforssl.com 8.8.8.8
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @maysam,

    Can you open a support ticket so we can take a closer look at your system to see why the AutoSSL domain validation process is failing? You can post the ticket number here after it's submitted and I'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator

    thank you for your help

    i excute the commands and the results seems good
    please see attached


    regards
     

    Attached Files:

  14. maysam

    maysam Member

    Joined:
    Sep 30, 2018
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    i open ticket
    Ticket Created at buycpanel #218700
     
    #14 maysam, Apr 14, 2019
    Last edited by a moderator: Apr 14, 2019
  15. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @maysam,

    It looks like the ticket was opened directly with your license provider. Can you let us know how the support request turns out?

    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