yayh
yayh

Reputation: 1

Azure edit/change servicename DNS URL

I have two VMs pointed to a Azure oldname.cloudapp.net url I want to change that without deleting VMs.

Set-AzureService does not change service name! It only changes label name and description.

I can create new cloud service, but how make my current two VMs point to new URL AND delete the old one?

Upvotes: 0

Views: 1428

Answers (1)

David Makogon
David Makogon

Reputation: 71031

You cannot rename a cloudapp.net. You need to create a new service and redeploy:

  • If oldname.cloudapp.net contains Virtual Machines, delete the existing virtual machines (but not the vhd's) from the old url and deploy them to the new url. The overall effect will be like turning off the VM's and turning them back on.
  • If it contains web/workers, you just need to redeploy the package and configuration.

Note: In both cases, the new cloudapp.net will have a different external IP address.

Upvotes: 1

Related Questions