This git repo contains my personal website, currently deployed using Netlify at raphaelschaad.com .
- Address SEO improvements from website.grader.com
- Add all URL versions to Google Search Console (https, http, www, and non-www)
- Add favicon
- Create custom 404 page (see An Analysis of 24 Creative 404 Error Pages, The 101 Course On Crafting 404 Pages)
Add the primary domain or a domain alias (secondary domain) by following these steps:
- 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
andns2.hover.com
, which usually is the default. - Configure the registrar's DNS records:
@
(representing no hostname) as anA
record pointing to Netlify's load balancer's IP104.198.14.52
.www
as aCNAME
record pointing to Netlify's default subdomainraphaelschaad.netlify.com
.- Leave any mail-related DNS records.
- 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.