serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
155 stars 49 forks source link

Unexpected behavior on multi-level subdomains #54

Open ekremkenter opened 4 years ago

ekremkenter commented 4 years ago

Trying to deploy a website that would be hosted on a.sub.domain.com, I have a route53 and certificate setup for sub.domain.com but due to company policy cannot have that on domain.com While deploying it translates the domain naked in util.js resulting to domain.com which fails. It would be better to give a nakedDomain config on serverless.yml. Can you also suggest a way to overcome this problem?

eahefnawy commented 4 years ago

That seems to be a bug. We'll look into it.

Thanks for reporting, and sorry for the late response 😊