Skip to content

URL forwarder from one domain to another

0

I have an existing QR code which cannot be recreated. This QR code sends people to go.domain1.com/here

Need to have a URL forwarder so when people go to above URL they would be redirected to go.domain2.com/here

I appreciate your input.

2 Answers
1
Accepted Answer

Hi,

The first solution in the following page may be the simplest solution to your problem.

See https://aws.amazon.com/developer/application-security-performance/articles/http-redirections-management/

Enter image description here

Best,

Didier

EXPERT
answered 2 years ago
0

To set up a URL forwarder from go.domain1.com/here to go.domain2.com/here, you have a few options using AWS services:

  1. Using Amazon Route 53 with other AWS services: You can use Amazon Route 53 in combination with services like Amazon S3, Amazon CloudFront, or Application Load Balancer to set up domain redirection.

  2. Application Load Balancer: If you're using an Application Load Balancer, you can configure it to redirect incoming requests from one URL to another. This method allows you to redirect HTTP requests to HTTPS and send users to a different website.

  3. Amazon CloudFront Function: You can use an Amazon CloudFront Function to set up domain redirection. This method is useful for redirecting at the edge, which can improve performance.

  4. Web Server Configuration: If you're hosting your first domain on a web server like Apache, you can configure the server to handle the redirection. This involves setting up redirect rules in the server configuration.

For your specific case, where you need to redirect from go.domain1.com/here to go.domain2.com/here, you'll want to ensure that the redirection preserves the path ("/here") in the new URL. This can typically be achieved by configuring the chosen method to maintain the original path when performing the redirect.

Remember to test the redirection thoroughly to ensure it works as expected, especially considering the existing QR code that you can't recreate. This will help maintain a seamless experience for users who scan the QR code.
Sources
DNS forwarder externally | AWS re:Post
Application Load Balancer | Elastic Load Balancing | Amazon Web Services

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.