subdomain error redirects to main site using htaccess
Any non existant subdomain gets redirected to my hosts site
would like to redirect from not existing subdomains to error page or to main domain. I have a lot of subdomains and they are created and deleted dynamically so I do not control the process and do not know what exactly subdomains are created or deleted right now.
If one user deletes his subdomain I would like to redirect visitors to main domain or just show error page with custom message, the same like it's made by blogspot.com:
Lets say if you type any not existing subdomain it shows you error page that says that subdomain page does not exist
would like to redirect from not existing subdomains to error page or to main domain. I have a lot of subdomains and they are created and deleted dynamically so I do not control the process and do not know what exactly subdomains are created or deleted right now.
If one user deletes his subdomain I would like to redirect visitors to main domain or just show error page with custom message, the same like it's made by blogspot.com:
Lets say if you type any not existing subdomain it shows you error page that says that subdomain page does not exist