Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.51 KB

File metadata and controls

39 lines (26 loc) · 1.51 KB

CodetheTech DNS

Adding a subdomain

  1. Create a fork of this repository.
  2. In your fork open the codethetech.tech file and add the following alphabetically based off the subdomain name:
SUBDOMAIN_NAME:
  - ttl: 1
    type: CNAME
    value: Github or Vercel link.
  1. Replace SUBDOMAIN_NAME with the name of the sub-domain. So if the name was hello then the subdomain would be hello.codethetech.tech.
  2. Replace Github or Vercel link with the Github link or Vercel cname link of the website you want the subdomain to go. If you are using an IP address change type: CNAME to type: A. Remember to leave that . at the end!
  3. Commit your changes and create the PR!

That's it! Someone with contributor access to the repo will then review your PR.

Limitations

codethetech.xxx subdomains are only available for all clubs and projects related to CodetheTech.

When adding a site hosted on ▲ Vercel, you will need to verifiy the domain by adding a CNAME or TXT record.

image

Add the value to the codethetech.tech file as shown below:

_vercel:
  ttl: 1
  type: CNAME
  values: cname.vercel-dns.com.