The problem is this. There is a site, say www.site.ru, on which everything works fine, but if you enter by typing the address qwerty.site.ru or qwert.y.site.ru then the full alias of the main site is displayed. How to do this (via .htaccess or zone settings) so that nothing is displayed on qwerty.site.ru and qwert.y.site.ru; These subdomains in principle does not exist?

There is an ISPManager Lite panel on the server.

  • try using a simple redirect from * .site.ru on site.ru and that's it - FreeMast
  • It is necessary to ask your "host": "How to configure the DNS of my site?" - welcomemyaltai

1 answer 1

In general, a hosting provider should be asked about such questions - it is their responsibility. You cannot delete subdomains through the ISPManager panel, but if you have access to the server, you can use the script to delete the domain or subdomain while maintaining the site alias. Here is a link to the plugin and instructions to it.