Could you be a bit more specific? If you mean use Apache as a DNS, then no, it's not. If you mean to use apache to host a .com sure, but not the DNS service needed to resolve your hostname with your IP, that would be BIND and would be MUCH more complicated
Using Vhosts in apache differs on how you set apache up to begin with, or how your distro does if you chose to use a prebuilt package. Check the documentation on Apache's website (
www.apache.org ) or your distro's docs to find out.
Cool