Question lightsail + cloudfront + subdomains

0

Hello everybody!
First of all I apologize for my bad English.

I currently have a project in Hostinger, it is a website in php, mysql, html, css, etc.
I am looking to migrate to a VPS to be able to create the number of subdomains I need without having a limit like the one I currently have with Hostinger. For that, create an instance in AWS Lightsail and install a hosting panel "HestiaCP", I was able to create a public IP and point my domain to the AWS DNS to access my site.
The problem is that I want to enable Cloudfront, and when creating the certificate it does not allow me to enter wildcards so that all my subdomains can enter through cloudfront.

Is there a way for all requests to my main domain or any of my subdomains to go through Cloudfront and then go to Lightsail instance?

Thank you very much for your time.

EDIT: All subdomains must point to different folders, they behave like different websites.

Edited by: gabriel292 on May 27, 2021 5:10 PM

질문됨 3년 전303회 조회
2개 답변
0

Hello Gabriel,

Thanks for choosing Lightsail!

Sorry for not supporting wildcard in Lightsail Distribution Certificate. Currently, Lightsail Distribution Certificate supports up to 9 alternative domain names https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-create-a-distribution-certificate. (Alternative domain not supporting wildcard). Will take this feedback (Wildcard Supporting) to our PM.

Thanks,
Yiran

답변함 3년 전
0

Hello yiranaws!! That would be amazing! Thank you very much and hopefully they can enable wildcards for subdomains.
Greetings

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠