编辑主机名
<p class="shortdesc">文本介绍如何编辑主机名。</p>
<section class="section prereq" id="Edit_Hostname__prereq_vsp_pf3_rvb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">云服务器ECS实例状态处于<span class="ph uicontrol">已关机</span>,<span class="ph uicontrol">运行中</span>或<span class="ph uicontrol">重启中</span>的云服务器ECS实例无法执行编辑主机名操作。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/ecs/overview" target="_blank" rel="external noopener">云服务器ECS控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击左侧导航栏<span class="ph uicontrol">实例</span>,进入<span class="ph uicontrol">实例管理</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择目标地域,在目标实例操作列单击<span class="ph menucascade"><span class="ph uicontrol">更多</span><abbr> > </abbr><span class="ph uicontrol">运维管理</span><abbr> > </abbr><span class="ph uicontrol">编辑主机名</span></span>。</span>
<div class="itemgroup info">
<img class="image" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20232006152128-1c070e869cd7.png" width="800">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">弹出<span class="ph uicontrol">编辑主机名</span>对话框,输入新的主机名。</span>
<div class="itemgroup info">
<img class="image" src="https://obs-cn-shanghai.fincloud.pinganyun.com/pacloud/20232006152128-168c54b794a1.png">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确认</span>。</span>
<div class="itemgroup info">
<div class="note note note_note" id="Edit_Hostname__note_r12_bg3_rvb"><span class="note__title">说明:</span> 主机名要求以字母开头,允许字母、数字、 -,不允许以-结尾,
最长64个字符,多个主机名称以英文逗号隔开。</div>
</div>
</li></ol></section>
<section class="section result" id="Edit_Hostname__result_bdc_dg3_rvb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">编辑成功后,实例状态为<span class="ph uicontrol">修改主机名中</span>,在实例管理页面下方提示<span class="ph uicontrol">操作成功</span>。</p>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!