strip https and http when generating site name.