Skip to content

is it possible to launch my node.js server as a gh pages? #149398

Discussion options

You must be logged in to vote

Hi @alextheradu

The answer is no. GitHub Pages only serves static files (HTML, CSS, JS) and does not support running a Node.js server directly. However, you can use GitHub Codespaces to host and run your Node.js server and share its public URL for access. Alternatively, deploy your Node.js server to a platform like Vercel, Render, or Heroku.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by alextheradu
Comment options

You must be logged in to vote
1 reply
@alextheradu
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question
4 participants