Hi,
I want to redirect every under-domains (*).mydomain.com to mydomain.com

On debian gentoo (ovh).


I try to add "* IN A myip " in mydomain.com.hosts. This was working at
the begining and don't work anymore.

Then i try " server alias mydomain.com *.mydoman.com" in the main
virtualhost. This was also working at the begining and don't work anymore.


I try to restart apache and bind... I don't know where is the bug.

Can anybody help. Thx for suggestions.