Azure在单个Web应用程序上部署多个项目

问题描述 投票:0回答:1

我有三个不同的项目,我必须在具有不同子域的单个Web应用程序下部署这些项目。我已经购买了自定义域名。为了部署这些项目,我创建了三个目录。 enter image description here

我还在应用程序设置中设置了虚拟目录。

enter image description here

这些域名也设置为enter image description here

我像这样部署Web部件。

enter image description here

现在,当我试图访问web子域时,它向我显示默认的天蓝色页面enter image description here

如何在子域的基础上访问项目。

asp.net-mvc azure subdomain webdeploy azure-webapps
1个回答
0
投票

所以我从南希的评论中得到了一个想法。因此,您只需更新虚拟应用程序和目录,如下所示。

enter image description here

现在我可以使用https://web.example.com/访问网页了解@Nancy。

© www.soinside.com 2019 - 2024. All rights reserved.