Skip to content

wikipathways/community-subdomain-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

community-subdomain-template

Template repository for WikiPathways subdomains

Developers

Subdomain redirect strategy for communities (portals), etc.

  1. Create new repo from the community-subdomain-template
  2. Add CNAME file with desired subdomain name. Create manually or use Settings/Pages
  3. Edit the index.html file with redirect details
  4. In CloudFlare, add CNAME record to cloudflare with name = subdomain (e.g., cptac), target = wikipathways.github.io and proxy = DNS only
  5. Back at the repo, go to Settings/Pages, choose the main branch, enter the custom domain, and enforce HTTPS

The DNS will direct sudomain traffic to the target GitHub org and then GitHub will manage the final direction to the repo containing the matching CNAME file. The repo can contain web content or a simple index.html file with redirect info (like this example).

About

Template repository for WikiPathways subdomains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages