如何为我在Azure LInux VM中托管的网站分配域? [英] How to assign a domain to my website hosted in Azure LInux VM?

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

问题描述

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

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

有关添加A记录的更多信息,请参考此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.

解决方案

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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆