DEV Community

miko1112
miko1112

Posted on

1

Using GitHub Pages domain for other purposes?

So, here's a quick summary of my question: Is it possible to use your GitHub Pages domain for anything that isn't a website? Say I have a server that hosts an API, and I need a domain for that. Is it possible to use my GitHub Pages domain for that server?

Top comments (1)

Collapse
 
mellen profile image
Matt Ellen-Tsivintzeli

No, you cannot do that.

GitHub pages is a static site generator. It generates the pages from your GitHub repo and serves them. You have no control over how the pages are served.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs