Resolved error with CNAME creation, strip http:// from PublicURL before creating CNAME