Set up Automatic Virtual Hosts with Nginx and Apache

You definitely shouldn’t redirect all .com addresses to your vhost, else you’ll prevent yourself from visiting 90% of the internet’s web sites. If you’re only dealing with a single instance, just make a separate virtual host block for each.