0
Redirect subdomains to main domain
Is there a simple way to redirect all subdomains *.domain.com to domain.com?
Сервис поддержки клиентов работает на платформе UserEcho
Сервис поддержки клиентов работает на платформе UserEcho
enter youre server_name like this
server_name yourdomain.com *.yourdomain.com;
server {
Edit: You then would add a nginx redirect in the created default host to redirect to the main domain.