步骤一:添加域名
<p class="shortdesc">使用 Web 应用防火墙进行防护前,您需要先将防护的网站接入到 Web 应用防火墙。本文介绍如何手动接入防护资产。</p>
<section class="section prereq" id="adddomain__prereq_rn5_ndy_jrb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已购买Web应用防火墙服务</p>
<p class="p">您的登录账号拥有申请资产接入的权限。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand" id="adddomain__console_1">
<span class="ph cmd">登录<a class="xref" href="https://pinganyun.com/" target="_blank" rel="external noopener">平安云官网</a>。</span>
</li><li class="li step stepexpand" id="adddomain__console_2">
<span class="ph cmd">单击页面右上角<span class="ph uicontrol">控制台</span>按钮。</span>
</li><li class="li step stepexpand" id="adddomain__console_3">
<span class="ph cmd">输入账号名和密码,通过验证,单击<span class="ph uicontrol">确定</span>,登录控制台。</span>
</li><li class="li step stepexpand" id="adddomain__console_4">
<span class="ph cmd">在左侧导航栏中单击<span class="ph menucascade"><span class="ph uicontrol">全部产品</span><abbr> > </abbr><span class="ph uicontrol">Web应用防火墙</span></span> ,进入<span class="keyword wintitle">概览</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">管理</span>跳转到<span class="keyword wintitle">防护概览</span>页面,单击左侧导航栏<span class="ph menucascade"><span class="ph uicontrol">防护资产管理</span><abbr> > </abbr><span class="ph uicontrol">资产列表</span></span>,进入<span class="keyword wintitle">资产列表</span>页面,单击<span class="ph uicontrol">资产接入管理</span>进入<span class="keyword wintitle">资产列表/添加站点申请</span>页面。</span>
<div class="itemgroup info">
<img class="image" id="adddomain__image_frx_lb4_nrb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20231704193308-166568909372.png" width="750">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">手工导入</span>进入<span class="keyword wintitle">站点手工导入</span>页面,接入方式选择<span class="ph uicontrol">反向代理</span>,输入站点名称、站点域名、服务器地址(可以选择输入IP或者域名)、协议及端口,单击<span class="ph uicontrol">下一步</span>。</span>
<div class="itemgroup info">
<img class="image" id="adddomain__image_mtr_knk_rrb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20231704193308-1ac3b9c19943.png" width="650">
<div class="note note note_note" id="adddomain__note_pd5_32r_msb"><span class="note__title">说明:</span> 一个域名只能配置一个端口。除 HTTP(80/8080)和
HTTPS(443/8443)标准端口,还支持配置非标准端口,具体如下表所示:</div>
<table class="table frame-all" id="adddomain__table_lgn_hfr_msb"><caption></caption><colgroup><col style="width:30.48780487804878%"><col style="width:69.51219512195121%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="adddomain__table_lgn_hfr_msb__entry__1">
<p class="p">协议名称</p>
</th>
<th class="entry" id="adddomain__table_lgn_hfr_msb__entry__2">
<p class="p">端口</p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="adddomain__table_lgn_hfr_msb__entry__1 ">
<p class="p">HTTP</p>
</td>
<td class="entry" headers="adddomain__table_lgn_hfr_msb__entry__2 ">
<p class="p">80~442、444~4442、4444~5442、5444~6442、6444~7442、7444~8442、8444~9442、9444~65535</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="adddomain__table_lgn_hfr_msb__entry__1 ">
<p class="p">HTTPS</p>
</td>
<td class="entry" headers="adddomain__table_lgn_hfr_msb__entry__2 ">
<p class="p">443、4443、54443、6443、7443、8443、9443</p>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd"><span class="ph uicontrol">高防IP</span>是对外反向代理使用的地址,使用默认配置即可。单击<span class="ph uicontrol">下一步</span>。</span>
<div class="itemgroup info">
<img class="image" id="adddomain__image_yk3_z4k_rrb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20231704193308-1daee9889521.png" width="650">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">完成</span>。</span>
<div class="itemgroup info">
<img class="image" id="adddomain__image_ort_kpk_rrb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20231704193308-1454e2ba98e0.png" width="650">
</div>
</li></ol></section>
<section class="section result" id="adddomain__result_v1j_rc4_nrb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div>
<p class="p">在<span class="keyword wintitle">资产列表</span>页面可以看到刚刚添加的资产信息。</p>
</section>
<section class="section postreq" id="adddomain__postreq_bxx_vbr_msb"><div class="tasklabel"><h2 class="doc-tairway">后续操作</h2></div>
<p class="p">域名添加完成后,请继续执行如下步骤:</p>
<ul class="ul" id="adddomain__ul_nqh_zbr_msb">
<li class="li"><a class="xref" href="https://pinganyun.com/ssr/help/security/waf/quickstart.assetmanagement.addassetbycname.edit_dns" target="_blank" rel="external noopener">步骤二:修改DNS解析</a></li>
<li class="li"><a class="xref" href="https://pinganyun.com/ssr/help/security/waf/quickstart.assetmanagement.addassetbycname.ip" target="_blank" rel="external noopener">步骤三:放行回源IP</a></li>
</ul>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!