Skip to content

Commit 07de5fa

Browse files
committed
Fix for A record only custom domains
1 parent dda4053 commit 07de5fa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

azure-functions/configure-custom-domain/configure-custom-domain.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ az appservice plan create --name FunctionAppWithAppServicePlan \
1919
az functionapp create --name $functionAppName --storage-account $storageName \
2020
--plan FunctionAppWithAppServicePlan --resource-group myResourceGroup
2121

22-
echo "Configure a CNAME record that maps $fqdn to $functionAppName.azurewebsites.net"
22+
echo "Configure an A record that maps $fqdn to $functionAppName.azurewebsites.net"
2323
read -p "Press [Enter] key when ready ..."
2424

2525
# Before continuing, go to your DNS configuration UI for your custom domain and follow the
26-
# instructions at https://aka.ms/appservicecustomdns to configure a CNAME record for the
27-
# hostname "www" and point it your web app's default domain name.
26+
# instructions at https://aka.ms/appservicecustomdns to configure an A record
27+
# and point it your web app's default domain name.
2828

2929
# Map your prepared custom domain name to the function app.
3030
az appservice web config hostname add --webapp $functionAppName --resource-group myResourceGroup \

azure-functions/configure-ssl-certificate/configure-ssl-certificate.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ az appservice plan create --name FunctionAppWithAppServicePlan --location westeu
2121
az functionapp create --name $functionAppName --storage-account $storageName \
2222
--plan FunctionAppWithAppServicePlan --resource-group myResourceGroup
2323

24-
echo "Configure a CNAME record that maps $fqdn to $functionAppName.azurewebsites.net"
24+
echo "Configure an A record that maps $fqdn to $functionAppName.azurewebsites.net"
2525
read -p "Press [Enter] key when ready ..."
2626

2727
# Before continuing, go to your DNS configuration UI for your custom domain and follow the
28-
# instructions at https://aka.ms/appservicecustomdns to configure a CNAME record for the
29-
# hostname "www" and point it your web app's default domain name.
28+
# instructions at https://aka.ms/appservicecustomdns to configure an A record
29+
# and point it your web app's default domain name.
3030

3131
# Map your prepared custom domain name to the function app.
3232
az appservice web config hostname add --webapp $functionAppName --resource-group myResourceGroup \

0 commit comments

Comments
 (0)