Skip to main content

terminated cpanel still working and using another site files and database

Comments

6 comments

  • User Avatar
    cPRex Jurassic Moderator
    Hey there! Most likely the DNS for test.com is still pointed to the server, and Apache is serving the best-match vhost it can to try and fulfill that request to the browser.
    0
  • User Avatar
    ksvrach
    yes i know i can change the dns for itbut what if anyone else points to to my server and now their domain also shows my website?
    0
  • User Avatar
    cPRex Jurassic Moderator
    That's exactly how the internet works. What you'll want to do to workaround that is to setup a default vhost that gets displayed when there is an unroutable request. We have two articles that will help you do that work:
    0
  • User Avatar
    ejsolutions
    This is interesting. Would it not make sense to tie the default vhost to the hostname, by default, thus preventing this from happening in the first place?
    0
  • User Avatar
    cPRex Jurassic Moderator
    For many users that is exactly what they do. However, clients that resell hosting plans often try and obscure the main hostname, so we prefer not to assume any default and let the end-users configure this.
    0
  • User Avatar
    ejsolutions
    .. goes off to my WHM servers, to make sure none of my client sites are "top of the list". ;)
    0

Please sign in to leave a comment.