Apache 2 wildcard subdomain
I'm running Linux Ubuntu 11 on my local machine and able to install LAMP and it works properly. I create a Virtual Host for me to run example.local on my local machine, and it's working very well.
Now, the problem is I'm trying to setup wildcard for the domain so it will look like something sub1.example.com. I tried to put *.example.com for ServerName of my VirtualHost but it's no good.
Please help if you have any idea, that would be much appriciated.