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

feita há 3 anos303 visualizações
2 Respostas
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

respondido há 3 anos
0

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

respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas