Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting a custom domain doesn't do anything #21

Open
franciskolms opened this issue Jan 23, 2021 · 1 comment
Open

setting a custom domain doesn't do anything #21

franciskolms opened this issue Jan 23, 2021 · 1 comment

Comments

@franciskolms
Copy link

According to the documentation, all I need to do is write domain: example.com in the serverless.yml to get the https://xxxxxx.cloudfront.net automatically route to my domain. So that's exactly what I did, I went to fullstack-app > site > serverless.yml and added the domain name where it was supposed to go like so:

component: website
name: site

inputs:
  src:
    src: ./
    hook: npm run build
    dist: build
    domain: example.com

Simple I thought.

However, when I deploy the app nothing happens with the domain and the site is only accessible through the usual https://xxxxxx.cloudfront.net.

P.S.The domain I'm trying to use is in my Route 53 account and I have tested it before that all works fine with other services.

@franciskolms
Copy link
Author

Am I really the only one having this problem or is there something so obvious I'm not noticing that this just gets ignored? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant