58

According to the GitHub Terms of Service, under section G. General Conditions, you'll find this: You may use GitHub subdomains (e.g., yourname.github.io) solely as permitted and intended by the GitHub Pages tool to host your company pages, personal pages, or open source project pages, and for no other purpose. You may not use GitHub subdomains in ...


17

As of May 23th, 2018 much of this seems to have changed. From the terms of service I. Additional Terms for GitHub Pages Short version: The GitHub Pages hosting service is subject to certain rules, in addition to the rest of the Terms. Each GitHub account comes with access to the GitHub Pages static hosting service. This hosting service is ...


13

Officially confirmed to be impossible. Answer from GitHub support: Thanks for reaching out to GitHub Support about using GitHub Pages We set the following Cache-Control header for all GitHub Pages content: Cache-Control: max-age=600 This header is the same for all assets on all sites on our Pages service, and we don't currently provide a ...


9

No. The only way to track analytics for a GitHub Pages page/site is via a third-party service such as Clicky, Google Analytics, Gauges, etc.


9

It might be worth noting that the clause posted in the accepted answer is no longer in the GitHub Terms of Service. Here is the updated clause: You may use the GitHub Pages static hosting service solely as permitted and intended to host your organization pages, personal pages, or project pages, and for no other purpose. You may not use GitHub Pages ...


6

Jekyll does support rendering AsciiDoc via a plugin, however this isn't part of the default GitHub Pages Jekyll setup. GitHub lets you configure Jekyll plugins by adding them to the _config.yml file. However jekyll-asciidoc isn't on the list of supported plugins at this time. You could try submitting a request to GitHub to add jekyll-asciidoc to the list ...


4

For your second app you are wanting to publish, create a new repo using any name (e.g. myapp). Then publish a branch named gh-pages to that repo. Your new app should then be available at http://USER.github.io/REPO. So, for our example, username.github.io/myapp. For a detailed guide on these steps, see the Creating Project Pages Manually guide. The ...


4

It seems the problem was the incorrect casing of Index.HTML. This should be all lowercase. ie. index.html. I didn't realize the file names were also case sensitive. The case-sensitivity, in this case, is dependent on the underlying operating system. Linux/unix is case-sensitive, Windows is not. But URLs are always case-sensitive.


3

The correct link is https://github.com/dblock/dotnetinstaller/tree/gh-pages Your assumption is not false but work only for User or Organisation page not for project page, so github.com/dblock/dblock.github.com is for dblock.github.io and dotnetinstaller (if it's not a folder of a User or Organisation page) is located at github.com/dblock/dotnetinstaller in ...


2

GitHub has provided native "GitHub Traffic Analytics" since 2014. Besides tracking visitors to your repository, it provides a 'content' panel where you can see the traffic to individual pages within that repository. Navigate to your desired repository Go to 'Insights' and select 'Traffic'. This is what it looks like: If your GitHub page doesn't have ...


2

If branch gh-pages already exists, delete it. git branch -D gh-pages Create a new branch gh-pages without any content. git checkout --orphan gh-pages Remove all initially cached files from the index. git rm -r --cached . Add, commit, and push js-projects/quick-js-app. If gh-pages is already on github, you need to force the push using -f. Be aware ...


2

I can confirm that the Project Page Generator is not available anymore. No matter if you create a User or organization site and have the website in the repository's master branch or a Project site with the website in a gh-pages branch. It works differently nowadays and it also has a different name. The so called Project Page Generator is as you might have ...


2

It works without choosing a theme. Add this to /_layouts/default.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>The title</title> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" ...


1

The "Automatic Page Generator" button was retired some time ago, which is why it can't found in the current doco (unfortunately they haven't updated the video to match). The same process can be kicked off by using the "Choose Theme" option in Settings, which then allows you to choose a theme and will run Jekyll in the background to generate your Github ...


1

To publish a GitHub page under the root domain of your github.io username, you should set up a repository named username.github.io, and it will take care of it. Besides that, any other repository you create and set to publish pages, will be available at username.github.io/repo-name. An example of such repo: square/square.github.io. If you want to have ...


1

As stated, HTTPS is not currently supported by GitHub Pages. However, HTTPS for custom domains is one of our most frequent features requests, and I can tell you that it's something we're working on (though I can't specify a timeline for that). - Community manager response ~2017 In the meantime, you can sign up for a gratis Cloudflare account, add your ...


1

You get one website per GitHub account, but no one is stopping in you from dividing it between multiple applications. For example you can put one application under /app1 and another one under /app2. Keep in mind that GitHub is a git hosting company, not a web hosting one.


1

This is what dig tells me: kongaraju.github.com. 3600 IN CNAME github.map.fastly.net. github.map.fastly.net. 17 IN A 199.27.72.133 Because of CNAME entry, any requests to kongaraju.github.com gets resolved to github.map.fastly.net. Because of the A record, any query to github.map.fastly.net. gets resolved to 199.27.72.133. It's not possible ...


1

Also, it is quite possible to have a GitHub page active (and public) for a private repository.


1

I'm not sure what you exactly want. Github Pages explicitly hosts websites based on Jekyll and is unable to help you in hosting any other kind of backend. If you want to have a website for other purposes and not built out of Jekyll, you need to find somewhere else. If you just want to add a new page via Jekyll, see their Guides


1

You can use a web crawler/scraper like HTTrack or wget to download your entire website as a folder of HTML, CSS, image, and other files. Once you've got your website downloaded, you can commit and push all of those files to a GitHub repository and set up GitHub Pages to serve that repository as a website. You might also need to fix some links and ...


1

One solution would be to rename your username.github.io repository to something else, so it is no longer considered to be your special "user/organization pages" repository. It can continue using the custom domain it's already on (just make sure the CNAME file in the repository correctly points to your example.com custom domain). Then, your projects pages ...


1

I had this wild idea in head of pushing a fake commit to the project gh-pages branch and let it rebuilt itself and this magically worked! :)


1

on StackOverflow is the place to ask your questions about a certain project without raising an issue for the entire project. Remember to tag all your questions as "Git" or "GitHub" I give you direct link hope this is helpful https://stackoverflow.com/


Only top voted, non community-wiki answers of a minimum length are eligible