Use variable $DOMAIN instead of fix domain