raphaelschaad / raphaelschaad.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raphaelschaad.com

This git repo contains my personal website, currently deployed using Netlify at raphaelschaad.com Netlify Status.

To-do

Domains on Netlify

Add the primary domain or a domain alias (secondary domain) by following these steps:

  1. If possible, use the nameservers that the registrar provides (caveat: Netlify can only create subodmain wildcard HTTPS certs for domains they manage the DNS records for), e.g. ns1.hover.com and ns2.hover.com, which usually is the default.
  2. Configure the registrar's DNS records:
  • @ (representing no hostname) as an A record pointing to Netlify's load balancer's IP 104.198.14.52.
  • www as a CNAME record pointing to Netlify's default subdomain raphaelschaad.netlify.com.
  • Leave any mail-related DNS records.
  1. Add both the non-www and www-variant of the domain in Netlify's custom domains settings.

If the registrar doesn't provide/charges for nameserver (e.g. switchplus.ch), first, setup DNS and add records like in step #2 above at Netlify. Then, change the nameservers at the registrar to the ones Netlify provides. Finally, follow step #3 above.

To forward all possible combinations of a domain alias ([http[s]://][www.]raphaelschaad.x[/[y]]) to the primary domain (https://raphaelschaad.com[/[y]]), either, use the Hover forward feature (easiest), or follow the steps above. Note that there is no easy way to catch random subdomains and redirect them, nor does it seem to be a convention with the big guys. When following the steps above, to have the URL in the browser display the primary domain even when coming from a domain alias, redirect the domain alias to the primary domain using the netlify.toml configuration file.

About


Languages

Language:HTML 59.1%Language:CSS 36.7%Language:JavaScript 4.2%