Swapping host for url