Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 55e4859

Browse files
authored
add csuid note (#377)
1 parent aad5e6a commit 55e4859

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

app-service/configure-ssl-certificate/configure-ssl-certificate.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ New-AzAppServicePlan -Name $webappname -Location $location `
1212
-ResourceGroupName $webappname -Tier Free
1313

1414
# Create a web app.
15-
New-AzWebApp -Name $webappname -Location $location -AppServicePlan $webappname `
15+
$webapp = New-AzWebApp -Name $webappname -Location $location -AppServicePlan $webappname `
1616
-ResourceGroupName $webappname
1717

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)"
1921
Read-Host "Press [Enter] key when ready ..."
2022

2123
# Before continuing, go to your DNS configuration UI for your custom domain and follow the

app-service/map-custom-domain/map-custom-domain.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ New-AzAppServicePlan -Name $webappname -Location $location `
1010
-ResourceGroupName $webappname -Tier Free
1111

1212
# Create a web app.
13-
New-AzWebApp -Name $webappname -Location $location -AppServicePlan $webappname `
13+
$webapp = New-AzWebApp -Name $webappname -Location $location -AppServicePlan $webappname `
1414
-ResourceGroupName $webappname
1515

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)"
1719
Read-Host "Press [Enter] key when ready ..."
1820

1921
# Before continuing, go to your DNS configuration UI for your custom domain and follow the

0 commit comments

Comments
 (0)