AWS Amplify 404 issue

0

Hi there,

I want to deploy my Hugo site on AWS Amplify, I set up all the settings, but I finally got this:

404

This domain was once hosted on GitHub, and I have completed the migration.

My build config:

version: 1
frontend:
  phases:
    build:
      commands:
        - rm -rf /usr/bin/hugo
        - wget -q https://github.com/gohugoio/hugo/releases/download/v${VERSION_HUGO_NEW}/hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - tar -xvf hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - mv hugo /usr/bin/hugo
        - rm -rf hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - hugo
  artifacts:
    baseDirectory: public
    files:
      - '**/*'
  cache:
    paths: []

Amplify:

Enter image description here

Thanks for your help.

  • Are you sure the domain (allyonsygama.com) is correct? It is not resolving using public DNS servers.

Allonsy
asked a year ago56 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions