Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWS Route 53 301 Redirect
<RoutingRules>
<RoutingRule>
<Redirect>
<Protocol>http</Protocol>
<HostName>domaintoforwardto.com</HostName>
<ReplaceKeyPrefixWith>anything/after/thedomain/index5.html</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
</RoutingRules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment