changing hard-coded IP's to virtual host