Set api url to remote.