Hello.
I have questions about landing page redirection and Cloudfront setting.
1.
I built a php landing page with Elastic Beanstalk and CloudFront.
And I noticed that if I visit the landing page with uncompleted website address, it is redirected to the complicated address(static address?) instead of simple domain address.
example:
My landing page address is https://abc.com/lp1/
If I visit abc.com/lp1/, correct domain address (abc.com/lp1/) is shown on the browser address bar.
But if I visit abc.com/lp1 (no "/" at the end), something like http://xxxx.xxxxx.us-east-1.elasticbeanstalk.com/lp1/ page is opened.
( https://abc.com/ is changed to http://xxxx.xxxxx.us-east-1.elasticbeanstalk.com/ and then "lp1/" is attached to the end)
The opened landing page is same but it is not https and also complicated (static) web address.
I wonder if this kind of visit can cause secure problem or click loss, etc.
I wonder how to redirect this kind of visit with the uncompleted web address(abc.com/lp1) to the completed address (abc.com/lp1/).
2.
There is "Restrict viewer access" option in the Cloudfront behavior tab and it is set to "no" by default.
I wonder if it's better to set it to "yes".
I also wonder if changing it to yes can cause
I have questions about landing page redirection and Cloudfront setting.
1.
I built a php landing page with Elastic Beanstalk and CloudFront.
And I noticed that if I visit the landing page with uncompleted website address, it is redirected to the complicated address(static address?) instead of simple domain address.
example:
My landing page address is https://abc.com/lp1/
If I visit abc.com/lp1/, correct domain address (abc.com/lp1/) is shown on the browser address bar.
But if I visit abc.com/lp1 (no "/" at the end), something like http://xxxx.xxxxx.us-east-1.elasticbeanstalk.com/lp1/ page is opened.
( https://abc.com/ is changed to http://xxxx.xxxxx.us-east-1.elasticbeanstalk.com/ and then "lp1/" is attached to the end)
The opened landing page is same but it is not https and also complicated (static) web address.
I wonder if this kind of visit can cause secure problem or click loss, etc.
I wonder how to redirect this kind of visit with the uncompleted web address(abc.com/lp1) to the completed address (abc.com/lp1/).
2.
There is "Restrict viewer access" option in the Cloudfront behavior tab and it is set to "no" by default.
I wonder if it's better to set it to "yes".
I also wonder if changing it to yes can cause
Last edited: