usecase

The aim of this how-to-guide🏁 is to show redirection from a TLD into a GH repo.

tld_to_gh

1. steps/?

  1. In S3, create an empty bucket example.com
    • NOTE: it has be identical to the domain name you want to use
  2. In Properties -> Static Website Hosting → set Redirect all requests togithub.com/example/example
  3. Test if it works just by clicking on the bucket endpoint
  4. Open Route53 → Create Hosted Zone → enter example.com into Domain Name → finalize registration
    • RULE: Domain Name has to be identical to the S3 bucket name
  5. Create an A record example.com
  6. Enable alias, and set alias target to the example.com bucket

set_up_A_record_route533