Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Custom domains don't work w/ alternate DNS provider (ie. Cloudflare) #271

@wilsonpage

Description

@wilsonpage

Describe the bug

I'm attempting to use my own domain which is managed by Cloudflare. I'm able to set this up manually by:

  1. Deploying the app without a domain in the config
  2. Creating a CNAME record (in Cloudflare) pointing to the app's xxx.cloudfront.net endpoint
  3. Creating and validating a certificate in ACM for batch.songwhip.com
  4. Changing the Cloudfront's domain/CNAME to accept request from my custom domain (batch.songwhip.com)

Screenshot 2019-12-30 at 10 56 55

But using the domain config in serverless.yml always fails with:

Error: Domain songwhip.com was not found in your AWS account. Please purchase it from Route53 first then try again.

Questions

  1. Does this plugin only support domains registered/managed by Route53?
  2. If so are there any workarounds you can think of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions