Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Suggestion: Use gh-pages instead of a separate repo #1

Open
stevenocchipinti opened this issue Jun 7, 2014 · 0 comments
Open

Suggestion: Use gh-pages instead of a separate repo #1

stevenocchipinti opened this issue Jun 7, 2014 · 0 comments
Labels

Comments

@stevenocchipinti
Copy link
Member

Hi,

Not sure if you are aware of gh-pages, so I thought I'd make the suggestion.

Instead of having a separate repo for the marketing page and hosting it yourself, GitHub can host it for you from a branch of the project repository - this is a common pattern for open source projects.
If you don't want to do the design, they even have fancy site generators you can use to get a customizable, responsive template!

More info available at pages.github.com

Hosting on GitHub

To set it up:

  • Create a gh-pages branch on main credulous repo
  • Move all the files from this repo into this new gh-pages branch

From this point, GitHub will host your static site from http://realestate-com-au.github.io/credulous for free!

DNS

You can now setup credulous.io to point here, but note it is not recommended to host the site from the apex domain, although you can do it if you really want to.

The recommended alternative is to use a CNAME:

  • Add a file to the gh-pages branch called CNAME with the content www.credulous.io
  • Setup a CNAME DNS record for www.credulous.io to point to realestate-com-au.github.io
  • Setup credulous.io to redirect to www.credulous.io

Just a suggestion of course, feel free to close this issue at any time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant