question

MaurizioLandolfi-8522 avatar image
0 Votes"
MaurizioLandolfi-8522 asked ·

On Visual studio during publish error message: The specified virtual machine does not have a domain name associated with any public Ip address.

Hello, i've created 2 azure virtual machine, windows and linux.
When in visual studio during publish action i select one of them i receive a message: The specified virtual machine does not have a domain name associated with any public Ip address.
I even added the Ip of the server to DNS.
What the problem?
Maybe is Visual studio? I have last version and everything upgraded.
So i cannot use virtual server azure.
There is another way to publish (FTP for example?)
Thanks

azure-virtual-machines
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

This doesn't happen by default. When you create a virtual machine (VM) in the Azure portal, a public IP resource for the virtual machine is automatically created. You use this IP address to remotely access the VM. Although the portal does not create a fully qualified domain name, or FQDN, you can create one once the VM is created. This article demonstrates the steps to create a DNS name or FQDN.


Something here may help.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/portal-create-fqdn



--please don't forget to Accept as answer if the reply is helpful--


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management


Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.




· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi thanks a lot, but the same error, maybe something wrong with my visual studio installation ? I will check

0 Votes 0 · ·

Hi, i made changes you suggested, now i have another error: Could not reach the web deploy end point on the specific virtual machine. Any suggestion?

0 Votes 0 · ·
LeonLaude avatar image
0 Votes"
LeonLaude answered ·

Hi,

Q&A currently supports the products listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

You can reach the experts in the dedicated Visual Studio forum over here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio

You may also follow the guidance here:
Microsoft Azure: Use Visual Studio to Deploy a Virtual Machine
https://petri.com/microsoft-azure-use-visual-studio-deploy-virtual-machine

(Please don't forget to accept helpful replies as answer)

Best regards,
Leon


· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, i will try

0 Votes 0 · ·