Skip to main content

Domain showing another website on the server

Comments

8 comments

  • ffeingol
    Hello, It's not a DNS issue, it's a SSL issue. If you request a site https and the cert is not there, Apache will show the first site in the config file that has a valid SSL. The easiest solution is to get the SSL issues as quickly as possible.
    0
  • kodeslogic
    Yes, ffeingol is correct it is an SSL issue. Install the valid SSL certificate for the concerned domain to fix it.
    0
  • Neil Shuker
    Thank you too you both. Unfortunately the cpanel autossl is still pending, so I have purchased a new SSL certificate, and all install and the site is now back working again. Thanks for your answer ffeingol
    0
  • kodeslogic
    Gald to know it is fixed. :)
    0
  • cPanelAnthony
    Thank you for assisting, @ffeingol and @kodeslogic !
    0
  • khalequzzaman17
    Sorry for bumping the old thread. Is there any way to show a specific webpage (where a message will be specified as "SSL needs to be installed or something like that" the users who don't have a valid SSL instead of showing random websites/domains?
    0
  • ffeingol
    From memory, you'd need to have a dummy site (with the page you want) as the first site in the Apache config for that to work. Very hard to do after the fact.
    0
  • cPRex Jurassic Moderator
    @khalequzzaman17 - we have a guide on how to set this up here:
    0

Please sign in to leave a comment.