tElaborate on domain setup in readme - andersdamsgaard.com - my photography web… | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 07f917057aca30fc52b181dbb8149349a6b485dd | |
parent 60a49253e71453b5f26afc66406aa90471b88040 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 19 Nov 2018 09:26:05 +0100 | |
Elaborate on domain setup in readme | |
Diffstat: | |
M README.md | 33 ++++++++++++++++++++++++++++-… | |
1 file changed, 30 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/README.md b/README.md | |
t@@ -2,10 +2,37 @@ | |
[![pipeline status](https://gitlab.com/admesg/admesg.gitlab.io/badges/master/p… | |
This repository contains the source for | |
-[andersdamsgaard.com](https://andersdamsgaard.com). The domain is registered | |
-through [domains.google.com](https://domains.google.com), where the FastMail | |
-nameservers are defined as primary nameservers. | |
+[andersdamsgaard.com](https://andersdamsgaard.com) and | |
+[andersdamsgaard.dk](https://andersdamsgaard.dk). The .com domain is registere… | |
+through [domains.google.com](https://domains.google.com), and the .dk domain i… | |
+registered through [dandomain.dk](https://dandomain.dk). When a client connect… | |
+to the `.dk` domain, a redirect makes sure to display the danish localization | |
+under `https://andersdamsgaard.com/da/`. Gitlab pages serve the content with t… | |
+root path [admesg.gitlab.io](https://admesg.gitlab.io) under a repository with | |
+the name `<username>.gitlab.io`. | |
+## DNS setup | |
+The FastMail nameservers are defined as primary nameservers for both domains, | |
+and consist of the following records: | |
+ | |
+For andersdamsgaard.com: | |
+ | |
+ Type Domain Data Comment | |
+ --------------------------------------------------------------------------… | |
+ A andersdamsgaard.com 35.185.44.232 Points to gitlab.c… | |
+ CNAME www.andersdamsgaard.com admesg.gitlab.io Point `www.` to ro… | |
+ | |
+For andersdamsgaard.dk: | |
+ | |
+ Type Domain Data Comment | |
+ --------------------------------------------------------------------------… | |
+ A andersdamsgaard.dk 35.185.44.232 Points to gitlab.c… | |
+ CNAME www.andersdamsgaard.dk admesg.gitlab.io Point `www.` to ro… | |
+ | |
+In addition, `TXT` records are used for Gitlab-pages verification. Mail record… | |
+are for both domains set to FastMail servers. | |
+ | |
+## Deployment | |
A preview of the webpage can be generated on the localhost with `make`. | |
Deployment occurs through the [GitLab CI | |
pipeline](https://gitlab.com/admesg/admesg.gitlab.io/pipelines) after pushing |