This repository was archived by the owner on Dec 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
configure-ssl-certificate Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,12 @@ New-AzAppServicePlan -Name $webappname -Location $location `
12
12
- ResourceGroupName $webappname - Tier Free
13
13
14
14
# Create a web app.
15
- New-AzWebApp - Name $webappname - Location $location - AppServicePlan $webappname `
15
+ $webapp = New-AzWebApp - Name $webappname - Location $location - AppServicePlan $webappname `
16
16
- ResourceGroupName $webappname
17
17
18
- Write-Host " Configure a CNAME record that maps $fqdn to $webappname .azurewebsites.net"
18
+ Write-Host " Sign in to your domain provider's website and configure the following records:"
19
+ Write-Host " A CNAME record that maps $fqdn to $webappname .azurewebsites.net"
20
+ Write-Host " A TXT record that maps asuid.$fqdn to the domain verification ID $ ( $webapp.CustomDomainVerificationId ) "
19
21
Read-Host " Press [Enter] key when ready ..."
20
22
21
23
# Before continuing, go to your DNS configuration UI for your custom domain and follow the
Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ New-AzAppServicePlan -Name $webappname -Location $location `
10
10
- ResourceGroupName $webappname - Tier Free
11
11
12
12
# Create a web app.
13
- New-AzWebApp - Name $webappname - Location $location - AppServicePlan $webappname `
13
+ $webapp = New-AzWebApp - Name $webappname - Location $location - AppServicePlan $webappname `
14
14
- ResourceGroupName $webappname
15
15
16
- Write-Host " Configure a CNAME record that maps $fqdn to $webappname .azurewebsites.net"
16
+ Write-Host " Sign in to your domain provider's website and configure the following records:"
17
+ Write-Host " A CNAME record that maps $fqdn to $webappname .azurewebsites.net"
18
+ Write-Host " A TXT record that maps asuid.$fqdn to the domain verification ID $ ( $webapp.CustomDomainVerificationId ) "
17
19
Read-Host " Press [Enter] key when ready ..."
18
20
19
21
# Before continuing, go to your DNS configuration UI for your custom domain and follow the
You can’t perform that action at this time.
0 commit comments