make uri work with localhost TODO set CNAME