add staticUrl function
handle static domain name