andersdamsgaard.com

my photography webpage
git clone git://src.adamsgaard.dk/andersdamsgaard.com # fast
git clone https://src.adamsgaard.dk/andersdamsgaard.com.git # slow
Log | Files | Refs | Submodules | README | LICENSE Back to index

README.md (1609B)


      1 # andersdamsgaard.com
      2 
      3 This repository contains the source for https://andersdamsgaard.com
      4 and andersdamsgaard.dk. The .com domain is registered through When
      5 a client connects to the .dk domain, a Javascript redirect makes
      6 sure to display the danish localization under
      7 https://andersdamsgaard.com/da/. Gitlab pages serve the content
      8 with the root path https://admesg.gitlab.io under the repository
      9 with the name https://gitlab.com/admesg.gitlab.io.
     10 
     11 ## DNS setup
     12 The FastMail nameservers are defined as primary nameservers for
     13 both domains, and consist of the following records:
     14 
     15 For andersdamsgaard.com:
     16 
     17     Type     Domain                    Data                 Comment
     18     ----------------------------------------------------------------------------
     19     A        andersdamsgaard.com       35.185.44.232        Points to gitlab.com
     20     CNAME    www.andersdamsgaard.com   admesg.gitlab.io     Point `www.` to root
     21 
     22 For andersdamsgaard.dk:
     23 
     24     Type     Domain                    Data                 Comment
     25     ----------------------------------------------------------------------------
     26     A        andersdamsgaard.dk        35.185.44.232        Points to gitlab.com
     27     CNAME    www.andersdamsgaard.dk    admesg.gitlab.io     Point `www.` to root
     28 
     29 In addition, TXT records are used for Gitlab-pages verification.
     30 Mail records are for both domains set to FastMail servers.
     31 
     32 ## Deployment
     33 A preview of the webpage can be generated on the localhost with
     34 `make`.  Deployment occurs through the [GitLab CI pipeline]
     35 (https://gitlab.com/admesg/admesg.gitlab.io/pipelines)
     36 after pushing to the master branch.