I've set up a Wordpress Multisite on my Local Mac, and also set up an Apache Virtual Host (e.g http://maindomain.dev) to point to the directory. The Multisite used to be a Directory Based install (e.g http://maindomain.dev/subdirectory), but I read that you convert it to a Domain Based install by changing the value of define('SUBDOMAIN_INSTALL', false); to define('SUBDOMAIN_INSTALL', true); and then updating the .htaccess file. I did all of this, and Wordpress appears to work fine. However, when I create a new site and try to access it (e.g http://subdomain.maindomain.dev), the browser (Chrome) just hangs for a while and then times out.
I read somewhere that a Wordpress Multisite domain-based install can't be installed locally, but it should work with an Apache Virtual Host, but I can't remember the URL for that page.
Can anyone help me out?