本文介绍了如何为我在Azure LInux VM中托管的网站分配域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的azure帐户中,我创建了一个Linux VM,在该VM上托管了我的文件,而不是创建webapp资源.

我已经安装了所有必需的软件和软件.通过FTP上传了我的文件.现在,我可以使用IP说

有关添加A记录的更多信息,请参考此链接.

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.

解决方案

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.

这篇关于如何为我在Azure LInux VM中托管的网站分配域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 00:07