You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forwards requests to deis.domain to the controller.
TESTING: rebuild the router and controller with this change:
$ make -C router build restart
$ make -C controller build restart
Test that deis.domain routes to the controller and that other
requests to the domain route to the app. Also, send several requests
to the API and be sure that nothing broke related to auth because
of the proxying of requests.
The integration tests were updated to test the controller and the app
routing, so you can also `cd test && bundle exec rake`.
Also, try creating an app with the name of 'deis' - it should be
rejected.
replaces #974
part of #535
Copy file name to clipboardExpand all lines: docs/operations/configure-dns.rst
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Configure DNS
9
9
For local clusters, we've created the DNS record ``local.deisapp.com`` which resolves to the IP of the first VM, 172.17.8.100.
10
10
You can use ``local.deisapp.com`` to both log into the controller and to access applications that you've deployed (they will be subdomains of ``local.deisapp.com``, like ``happy-unicorn.local.deisapp.com``). Similarly, you can use ``local3.deisapp.com`` or ``local5.deisapp.com`` for 3- and 5-node clusters, respectively. No DNS configuration is necessary for local clusters.
11
11
12
-
For Deis clusters hosted elsewhere (EC2, Rackspace, bare metal, etc.), DNS records will need to be created to point to the cluster. For a one-node cluster, we schedule and launch one router, and deis-router and deis-controller will run on the same host. So, both DNS records specified below can be configured to point to this one machine.
12
+
For Deis clusters hosted elsewhere (EC2, Rackspace, bare metal, etc.), DNS records will need to be created to point to the cluster. For a one-node cluster, we schedule and launch one router, and deis-router and deis-controller will run on the same host. So, the DNS record specified below can be configured to point to this one machine.
13
13
14
14
On a multi-node cluster, however, there are probably multiple routers, and the controller will likely be scheduled on a separate machine. As mentioned in :ref:`configure-load-balancers`, a load balancer is recommended in this scenario.
15
15
@@ -18,8 +18,9 @@ Note that the controller will eventually live behind the routers so that all ext
18
18
Necessary DNS records
19
19
---------------------
20
20
21
-
The DNS records for Deis should be configured as such:
22
-
* ``deis.example.org`` should resolve to the IP of the machine that runs ``deis-controller``
23
-
* ``*.deis.example.org`` (a wildcard DNS entry) should point to the load balancer (or the same machine for 1-node Vagrant, or any single instance of ``deis-router`` if one likes to live life on the edge)
21
+
Deis requires one wildcard DNS record. Assuming ``myapps.com`` is the top-level domain apps will live under:
22
+
* ``*.myapps.com`` should have A-record entries for each of the load balancer IP addresses
24
23
25
-
These records are necessary for all deployments of Deis (EC2, Rackspace, bare metal, etc.). Local clusters can use the hostnames ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
24
+
Apps can then be accessed via ``appname.myapps.com``, and the Deis controller can be accessed at ``deis.myapps.com``.
25
+
26
+
This record is necessary for all deployments of Deis (EC2, Rackspace, bare metal, etc.). Local clusters can use the domain ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
0 commit comments