title: gitlab pages returns 404 with trailing dot in hostname
body: <p>I want to add a CNAME to my DNS to resolve www.spfweb.co.uk to spfweb.gitlab.io</p>
  
  <p>In all good DNS documentation, it seems my www CNAME record should resolve to spfweb.gitlab.io. (i.e. with a trailing dot) [btw, I've not set this up yet...]</p>
  
  <p>However... <a href="http://spfweb.gitlab.io/" rel="nofollow">http://spfweb.gitlab.io/</a> is good and works, but <a href="http://spfweb.gitlab.io./" rel="nofollow">http://spfweb.gitlab.io./</a> results in a 404</p>
  
  <p>Would my CNAME record be wrong? (i.e. against good DNS advice, it would not end with a trailing dot to work), or is gitlab not checking hostname correctly? Indeed, if I make it resolve to spfweb.gitlab.io (without trailing dot), it actually resolves to spfweb.gitlab.io.spfweb.co.uk</p>
  
  <p>If you look at other websites - even gitlab.com itself, <a href="http://gitlab.com./" rel="nofollow">http://gitlab.com./</a> works as expected.</p>
  
  <p>So, whichever way one I use, it doesn't work: with trailing dot, gitlab returns 404. Without trailing dot, DNS is resolved incorrectly?!</p>