I'm trying to set up the AJAX Push Engine, and I've run into some complications using apache. All I want to do, is whenever I go to some address (e.g. *.example.com), forward it to some other address (e.g. mysite.com).
My httpd-vhosts.conf looks like this...
NameVirtualhost *.example.com
<VirtualHost *.example.com>
ServerName example.com
ProxyPass / http://mysite.com/
</VirtualHost>
But if I ping 0.example.com, it doesn't give me the IP address of mysite.com.
What is it that I am missing? If there is an easier way to do this without apache, I'm all ears: I had previously tried to just edit the hosts file, but apparently host files can't contain wildcards.
Thanks!