set domain name and apache config