ping domain shows another domain

Discussion in 'Installation/Configuration' started by chief, Jun 4, 2022.

  1. chief

    chief Member HowtoForge Supporter

    Hi,
    ISP 3.2.2 - Debain 11 - multi server
    When i ping ayearinbarry.org.uk i get this
    Code:
    PING ayearinbarry.org.uk (212.159.153.3) 56(84) bytes of data.
    64 bytes from www.alisonjonesdentist.co.uk (212.159.153.3): icmp_seq=1 ttl=63 time=0.628 ms
    64 bytes from www.alisonjonesdentist.co.uk (212.159.153.3): icmp_seq=2 ttl=63 time=0.712 ms
    I do host both site, but why does ping return the third domain in alphabetic order, i had this on previous setup as well.
    When any of my domains connect as https, but not generated a "letsencrypt" certificate they all user the ALISONJONESDENTISTS.CO.UK cert
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    My guess is the hostname of that server is what ping returns as FQDN. Verify with issuing on that server host the commands
    Code:
    hostname
    hostname -f
    That is not related to the problem you describe in this thread. It is a "feature", if you have sites with certificate and without, that happens when you use HTTPS on sites with no certificate. I do not know of other remedies but have two web servers, one for sites with certificates, and one for sites without.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    And if it's not the hostname as @Taleman guessed, then it might be the reverse DNS record of the IP address.
     
    Th0m likes this.

Share This Page