How to assign a domain to my website hosted in Azure LInux VM?

大兔子大兔子 提交于 2020-01-07 09:38:21

问题


In my azure account i have created a Linux VM on which i have hosted my files instead of creating a webapp resource.

I have installed all the required software & uploaded my files via FTP. Now i can access my site by using the ip say http://11.22.32.44

I have also purchase a domain from register.com. Suppose my domain name is example.com

I want to access my website with my domain name now. Like example.com instead of http://11.22.32.44

I am new to this type of things plus i don't have much knowledge in Azure.

Please Help.


回答1:


I want to access my website with my domain name now. Like example.com instead of http://11.22.32.44

According to your description, we can add a A record to register.com. We should do this in the domain name manager web page, map the domian name to this public IP address, in this way, we can access this web via example.com.

Same as this image:

More information about add A record, please refer to this link.



来源:https://stackoverflow.com/questions/43580711/how-to-assign-a-domain-to-my-website-hosted-in-azure-linux-vm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!