Virtual hosting was not working correctly