是否有可能一个网站移动到不同的"虚拟主机计划" [英] Is it possible to move a website to a different "Web Hosting Plan"

查看:103
本文介绍了是否有可能一个网站移动到不同的"虚拟主机计划"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有在蔚蓝的几个网站,而他们现在分为虚拟主机计划。我有两个计划总。我想要做的是移动从一个计划中的网站到另一个。有没有办法做到这一点无需拆卸网站和重建他们?

I've got several websites in azure, and they are now grouped into "Web Hosting Plans". I have two plans total. What I'd like to do is move the sites from one plan into the other. Is there a way to do this without removing the sites and recreating them?

推荐答案

所需的步骤如下(所有的PowerShell的)

Update

The required steps are as follows (All from powershell)

1:登录

Add-AzureAccount 

2:切换到蔚蓝的资源模式

2: Switch to azure resource mode

Switch-AzureMode AzureResourceManager 

3:创建字典重新present新场

3: Create dictionary to represent the new farm

$whp=@{"serverfarm" = "<newfarm>";}

4:开关农场

Set-AzureResource -name <sitename> -ResourceGroupName <groupname> -ResourceType Microsoft.Web/sites -apiversion 2014-04-01 -PropertyObject $whp

您可以通过执行获得的资源列表 GET-AzureResourceGroup 一旦你在资源模式

You can get a list of resources by executing Get-AzureResourceGroup once you are in resource mode

您现在可以从preVIEW门户做到这一点。

You can now do this from the preview portal

1:登录preVIEW门户网站(portal.azure.com)结果
2:拉起卡要更改结果的网站
3:点击靠近顶部的操作栏上的省略号

1: Login to the preview portal (portal.azure.com)
2: Pull up the card for the website you want to change
3: Click the ellipsis on the action bar near the top

4:单击虚拟主机计划

4: Click Web Hosting Plan

5:利润结果

5: Profit

这篇关于是否有可能一个网站移动到不同的&QUOT;虚拟主机计划&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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