Lambda is AWS’s serverless service that allows you to run functions written in various programming languages. The benefit to using lambda is you don’t need to run your own server for small or infrequent requests. For domain redirects you can point your domain to an AWS lambda function that redirects your request to a different domain. Go is just a programming language you can use to write your function that does the redirect.