Adds hostname-insertion to the returned URL