Virtual hosting with lighttpd can help you to easily create new subdomains and domains by simply adding a directory to your base virtual hosting directory. This allows you to create directories instead of editing configuration files.
This lighttpd configuration will create a virtual hosting directory under /var/www/vhost which will allow you to create example.com/index.html by creating /var/www/vhost/example.com/www/index.html. Something like asdf.example.com/index.html will map to /var/www/vhost/example.com/asdf/index.html. Anything subsubdomains are simply full directory names with dots: a.b.c.example.com/index.html will translate to /var/www/vhost/example.com/a.b.c/index.html