add httpdomain to config