So I activated the wildcard for subdomains in the zone file
and I added the folowing in httpd.conf:
now I am using this .htaccess for subdomains to work
What I succeeded so far is that everything I type as a subdomain goes directly to the main domain.
If I have a sublfolder and I type subfolder.a-zsearch.info/subfolder it goes to the existing subfolder. Now I don't know what I did wrong, but if somebody knows some tips it would be great.