How To Customize the Application Domains - SUSE/scf GitHub Wiki

In a standard installation the domain used by applications pushed to CF is the same as the domain configured for CF itself.

This document describes how to change this so that CF and applications use separate domains.

:warning: The changes described below will work only for CAP 1.3.1, and higher. They do not work for CAP 1.3, and will not work for the CAP 2 series to be.

  1. Follow the basic steps for deploying UAA and SCF.

  2. When deploying SCF add a section like

    bosh:
      instance_groups:
      - name: api-group
        jobs:
        - name: cloud_controller_ng
          properties:
            app_domains:
            - APPDOMAIN
    

    to the scf-config-values.yaml override file. The placeholder APPDOMAIN has to be replaced with whatever domain is desired to be used by the applications.

After deployment use

cf curl /v2/info | grep endpoint

to verify that the CF domain is not APPDOMAIN.

Further verify, by pushing an application, that APPDOMAIN is printed as the domain used by the application.