how to specify DNS name when publishing the project

79617847 5 Reputation points
2023-11-04T23:50:50.24+00:00

When publishing (extended support) my cloud service project, there is no place to specified my custom DNS name, so the name assigned would be

NameOfCloudService.Location.cloudapp.asure.com

How do I change to something like myapplication.azure.com

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
695 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AirGordon 7,125 Reputation points
    2023-11-05T07:03:23.7566667+00:00

    The normal way to achieve this is for you to buy a custom domain, and then configure the DNS settings on your domain to point to NameOfCloudService.Location.cloudapp.asure.com

    This part of the documentation shows how to do it with CNAMEs: https://video2.skills-academy.com/en-us/azure/cloud-services/cloud-services-custom-domain-name-portal#add-a-cname-record-for-your-custom-domain

    0 comments No comments

  2. vipullag-MSFT 26,306 Reputation points
    2023-11-09T04:41:15.5833333+00:00

    Hello 79617847

    Adding to previous response from AirGordon.

    For a custom DNS name, likely you need a DNS zone delegated from the main azure.com, and then you can add CNAME records after the cloud service deployment. 

    For example, you can create a team zone like *.TeamName.azure.com and each cloud service can have a CNAME record NameOfCloudService.TeamName.azure.com --> NameOfCloudService.Location.cloudapp.azure.com .

    Hope this helps.

    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.