You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

AWS应用负载均衡器无法创建主机重定向监听器规则的问题求助

Troubleshooting Disabled Save Button for ALB Host-Based Redirect Rule

Hey there, I’ve dealt with this exact ALB rule issue before, so let’s walk through the most likely missing configurations that are keeping your "Then" condition save button greyed out:

  • You haven’t filled all mandatory redirect action fields
    ALB’s redirect action has non-negotiable settings that are easy to overlook:

    • Select the correct Protocol (HTTPS, since your listener uses 443)
    • Set the Port to 443 (or use the variable #{port} to inherit the incoming port)
    • Explicitly define the Host as your non-www domain (xyz.com — don’t leave this blank or rely on the default if it doesn’t match your target)
    • Choose a Redirect status code (301 for permanent redirects, 302 for temporary; this field can’t be left empty)
    • For the Path, use #{path} to preserve the original request path (this is almost always what you want for a www-to-non-www redirect)
  • Your host condition isn’t fully configured
    For the "If" portion of the rule:

    • Confirm you’ve selected Host header as the condition type
    • Set the match type to Is equal to (not "Contains" or other options) and input www.xyz.com exactly as your target host
    • Avoid wildcard syntax unless you specifically need it — exact match is cleaner for this use case
  • You’re missing a unique rule priority
    Every ALB rule requires a distinct priority number. Since you already have 5 active rules, pick a priority that doesn’t overlap with your existing ones (e.g., if your current rules use 1–5, set this new rule to 0 or 6). Leaving the priority blank or using a duplicate will disable the save button.

  • You haven’t selected the correct action type
    Double-check that you’ve set the action type to Redirect (not "Forward to target group" or another option). If you’re on the wrong action type, the save button will stay disabled even if you fill in fields.

Run through these checks — I’m confident one of these is the issue. Once all mandatory fields are properly filled and the priority is unique, the save button should become clickable.

内容的提问来源于stack exchange,提问作者Meena Chaudhary

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.28 22:27:38