Skip to content

Production deployment on AWS EC2 #1323

@sergical

Description

@sergical

I was developing the app on the remote EC2 server. So I have something like ec2-user/nextjsapp/ and spinning up localhost:3000 was no problem, I'd listen on the remote IP at port 3000.

Now I would like to publish it at a subdomain, without using a port (setting up port 80 to listen) but I am having trouble running next start -p 80 after I do next build within that folder.

What is the process to get the bundled, production ready nextjs app running?

Thanks 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions