use client_domain in config