switch urls from localhost to server ip address