Hey there :wave:. Trying to make the event ingesti...
# support
b
Hey there 👋. Trying to make the event ingestion work on a CloudFront distribution following https://www.rudderstack.com/docs/user-guides/how-to-guides/custom-domains/#setup-for-sending-events. Was able to make
sourceConfig
work but the event ingestion fails with
405
(CORS failure on OPTIONS) on `*.`cloudfront.net even though all
GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
are allowed. Is the subdomain CNAME mandatory because in the docs it’s flagged as optional?
h
@brash-balloon-85545 where does it say it is optional - if you dont cname it is the same as using the rudder domain
b
To use your own domain, you can request or import a SSL certificate with your CDN provider. Note that this is an optional setting.
I would just like to use a plain
cloudfront.net
subdomain, but I guess it’s not possible
h
it is defeating the purpose using cloudfront.net
thats talking about optional custom certs not optional subdomain
b
you cannot create a CF dist with a CNAME without a custom cert
h
the optional bit is from cloudfront ui
b
yeah but for the whole thing to work it’s required. thanks a lot for taking a look 🎉
h
I use nginx not CF so not familiar with the inner workings
b
attached CNAMEs and certs and works as it should. thanks again everyone.
i would change the optional part in the docs though