> For the complete documentation index, see [llms.txt](https://comic-git.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://comic-git.gitbook.io/documentation/expert-editing/hosting-comic_git-elsewhere.md).

# Hosting comic\_git Elsewhere

## Hosting comic\_git Outside of GitHub Pages

It is possible, and in fact quite easy, to use comic\_git outside of GitHub. You may prefer this if you have your own hosting you're already paying for, or if you've [exceeded GitHub Pages' usage limits](https://docs.github.com/en/github/working-with-github-pages/about-github-pages#usage-limits).

Moving GitHub Pages to another website is as simple as running the [website building script locally on your own PC](/documentation/expert-editing/building-your-website-on-your-own-pc.md) and then uploading those files to your web host via whatever method they prefer. The most common method will be SFTP, which your web host's documentation will hopefully help you get set up.

The recommended steps for building and deploying comic\_git to another web service are as follows. This process will not upload any content for unpublished comic pages, while also not losing any of your work on your local machine.

1. Commit any changes you want to keep.
2. From the base repo directory, run `python comic_git_engine\scripts\build_site.py --delete-scheduled-posts`.
3. Upload your entire repo directory to your web server.
4. Discard all uncommitted changes with `git checkout -f`. (i.e., delete autogenerated files and undelete scheduled post content)

After comic\_git's scripts are run, your website is nothing more than HTML, CSS, and a little Javascript, so any basic web server will be able to host it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://comic-git.gitbook.io/documentation/expert-editing/hosting-comic_git-elsewhere.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
