DEV Community

loading...

Using GitHub Pages domain for other purposes?

miko1112 profile image miko1112 ・1 min read

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?

Discussion (1)

Collapse
mellen profile image
Matt Ellen

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.

Forem Open with the Forem app