When you are using our DNS (i.e. ns1.mddservices.com, ns2.mddservices.com, and ns3.mddservices.com) you should not face this issue. There will be no DNS records for any subdomains that are not added to your cPanel (unless you manually create them) and, as such, they will not resolve to any specific IP address. This issue most commonly affects those who use third party DNS when they configure a DNS entry to point to their IP but do not configure their cPanel to handle that subdomain or domain.
The way Apache and LiteSpeed work, is called "Virtual Hosts". In the configuration file for the server there is a virtual host for each domain, subdomain, etc. When a request comes in to load a site, the web server checks the configuration file and loads the files from the appropriate location based upon the information contained in the matching virtual host. This works great when you're loading a subdomain that you've created, but can cause some confusion if you load something else.
Let's say for example that you have "domain.com" as your primary domain and you've created "videos.domain.com" in your cPanel. When accessing either of these domains you will see the appropriate content. If you were, however, to try visiting an unconfigured subdomain such as "video.domain.com" [notice the missing S on video] the server will search the configuration file for the matching virtual host and since one does not exist, it will not find an exact match.
The server will then ignore the domain, as there was no match, and will find the next closest virtual host by IP address and port. This, more often than not, will result in somebody else's site loading instead of your own unless your virtual host happens to be listed first for the IP address in the configuration file.
There are two simple solutions, with the first being ideal:
- Simply do not create any DNS entries for domains or subdomains that you've not added to your cPanel.
- Create a '*' subdomain which will cause any non-configured subdomain to match, allowing you to create redirections if needed using mod_rewrite.