Possible Duplicate:
vhost set up help — domain and ip point to the same site
I have recently set up Linux CentOS on a little VPS.
I have bought my own domain and made A records to my VPS like this.
mydomain.com IP
*.mydomain.com IP
Everything here works fine.
I've installed Webmin with Apache and everything. Then I've created a Virtual Server in Webmin, to host my website. Also works fine, and I can access it in my browser.
Now I've created a sub-server to host phpmyadmin. I can access this on phpmyadmin.mydomain.com
. But also on klweridsncvx.mydomain.com
. It catches all subdomains.
It's annoying because I tried to create an Alias to my Google Apps account.
mail.mydomain.com
should point to ghs.google.com
, but it also goes to phpmyadmin.mydomain.com
.
Any suggestions how I can get rid of this catchall subdomain?