Skip to content

cga-harvard/maps.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

maps.github.io

Repository for redirects for maps.cga.harvard.edu

General Instructions

https://docs.github.com/en/pages/quickstart

Redirecting maps.cga.harvard.edu and maps.cga.harvard.edu/tgaz:

  1. Follow the directions here to verify the maps.cga.harvard.edu github pages domain for the cga-harvard organization: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages#verifying-a-domain-for-your-organization-site

  2. Note that when creating the text record in the DNS, you will need to enter the FQDN (Fully Qualified Domain Name) rather than just the host name. If the text record is

_github-pages-challenge-cga-harvard.maps.cga

you must enter

_github-pages-challenge-cga-harvard.maps.cga.harvard.edu

in the DNS.

  1. Create a repository named maps.github.io The repository name must end in github.io

  2. Create a file called CNAME with the contents

maps.cga.harvard.edu
  1. Place this file in the top level directory:
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="refresh" content="0; url=https://gis.harvard.edu/" />
    <title>Redirecting…</title>
    <link rel="canonical" href="https://gis.harvard.edu/" />
  </head>
  <body>
    <p>If you are not redirected, <a href="https://gis.harvard.edu/">click here</a>.</p>
  </body>
</html>
  1. Go to your repo’s Settings > Pages. Under "Branch" use the first dropdown to choose "main", then click "Save."

  2. Set your DNS CNAME in the HUIT DNS for maps.cga.harvard.edu to point to cga-harvard.github.io This has to be done before configuring your custom domain.

  3. Under “Custom domain”, enter maps.cga.harvard.edu and save.

  4. Enable Enforce HTTPS once the custom domain is recognized.

  5. Create a directory called tgaz

  6. Place this file in the tgaz directory:

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="refresh" content="0; url=https://chgis.hudci.org/" />
    <title>Redirecting…</title>
    <link rel="canonical" href="https://chgis.hudci.org/" />
  </head>
  <body>
    <p>If you are not redirected, <a href="https://chgis.hudci.org/">click here</a>.</p>
  </body>
</html>

About

repository for redirects for maps.cga.harvard.edu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages