Introduced $BASE_DOMAIN var in service.conf in order to avoid rewriting the same base IP or hostname again and again.