There are two different types of virtual servers in apache, name based and ip based.
When you are changing your apache config file, make sure you use one of the other. You can use both, but it does get tricky. Use the documentation from the www.apache.org
website, as it has great detail on the different modules.
If you do want two IP addresses, make sure you use the IP virtual servers setup.