Website alias

I have my webserver all working with 2 virtual servers running. When I add a new virtual domain it seems to do a redirect when logging into an existing website to the new website what am I missing in the setup.