I uncommented the following line in httpd.conf file.

```
Include /private/etc/apache2/extra/httpd-vhosts.conf

```

And then added the following code in httpd-vhosts.conf

```
<VirtualHost *:80>
  ServerName 15ive.com
  ServerAlias *.15ive.com
  DocumentRoot "/Applications/MAMP/htdocs/15five/web"
  <Directory "/Applications/MAMP/htdocs/15five/web">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
  SetEnv DEV 1
  SetEnv BASEDOMAIN 15ive.com
  RewriteEngine on
  RewriteCond %{REQUEST_URI} !^(/index\.php|/images|/scripts|/js|/css|/robots\.txt|/favicon\.ico|/pma15$
  RewriteRule ^(.*)$ /index.php/$1 [L]
</VirtualHost>

```

And now when I open 15ive.com in my browser, I am actually seeing the document root of localhost instead of what I specified in the virtual hosts file. It seems like apache is not picking it up. Any idea where did I go wrong?