First vhost set up: browser requests return content from default vhost

#1
I've copied the configuration from the default vhost to set up a new vhost.

The address/name mapping for the new vhost is in my /etc/hosts file.

In the vhost config file I have edit the docRoot and vhDomain values to point to the docroot and domain name of the new vhost.
In the control panel I've set the Virtual Host Name, Virtual Host Root and Config File values accordingly.

However when I request content from the new vhost, my browser returns content from the default host root.
Either that, or if the content exists in my new vhost but not in the default vhost then I get a 404.

What could I have missed?
 
#3
Hi Eric.

After your response I hunted around and found the section in the dashboard for creating vhost/listener mappings.
I went ahead and added a new mapping for the existing listener.

So at present the dashboard screen for the default listener looks like this:
(test2.localdev is the name of the vhost I'm trying to set up)

This is what the main settings look like:

If I click through to edit the mapping, this is what the settings look like:

After restarting the server, I now get a 404 page for both the default vhost and the new one that I'm trying to create.
 
Top