diff --git a/webadmin/src/js/setupdns.js b/webadmin/src/js/setupdns.js index cca60a5d5..0531bf57c 100644 --- a/webadmin/src/js/setupdns.js +++ b/webadmin/src/js/setupdns.js @@ -26,8 +26,8 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc provider: 'route53' }; - $scope.setDNSCredentials = function () { - $scope.busy = true; + $scope.setDnsCredentials = function () { + $scope.dnsCredentials.busy = true; var data = { domain: $scope.dnsCredentials.domain, @@ -45,11 +45,13 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc Client.setupDnsConfig(data, function (error) { if (error) { - $scope.busy = false; + $scope.dnsCredentials.busy = false; $scope.dnsCredentials.error = error.message; return; } + $scope.busy = true; + setTimeout(function () { // TODO wait until domain is propagated and cert got acquired window.location.href = 'https://my.' + $scope.dnsCredentials.domain + '/setup.html'; diff --git a/webadmin/src/setupdns.html b/webadmin/src/setupdns.html index 1e962ac67..fdf2a3cb4 100644 --- a/webadmin/src/setupdns.html +++ b/webadmin/src/setupdns.html @@ -45,7 +45,7 @@

Domain Setup

Specify the domain for your Cloudron

- +

Apps will be installed on subdomains of that domain.

@@ -55,27 +55,37 @@

DNS Provider Configuration

{{ dnsCredentials.error }}

-
- +
+
- +
- +
- +
+ + +

+ Setup a wildcard DNS A record manually. TODO more help text. +

+ + +

+ All DNS records have to be setup manually. TODO more help text also for my.domain.com. +

- +