<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 12:38 PM, Max Rydahl Andersen <span dir="ltr"><<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">On 18 May 2016, at 12:32, Aslak Knutsen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
On Tue, May 17, 2016 at 11:51 AM, Max Rydahl Andersen <<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
On 13 May 2016, at 15:58, Aslak Knutsen wrote:<br>
<br>
Max,<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
Could you register a subdomain on <a href="http://almighty.io" rel="noreferrer" target="_blank">almighty.io</a> or almighty.run, not sure<br>
which we want to use...<br>
<br>
e.g. <a href="http://doc.almighty.io" rel="noreferrer" target="_blank">doc.almighty.io</a><br>
<br>
So we can map in our DevDoc repo there;<br>
<a href="https://help.github.com/articles/using-a-custom-domain-with-github-pages/" rel="noreferrer" target="_blank">https://help.github.com/articles/using-a-custom-domain-with-github-pages/</a><br>
<br>
</blockquote>
<br>
I gave this a try. I don't think a CNAME works here since the actual url<br>
we currently build to is <a href="http://almighty.github.io/almighty-devdoc/" rel="noreferrer" target="_blank">http://almighty.github.io/almighty-devdoc/</a>.<br>
<br>
I've setup a masked forward for <a href="http://devdoc.almighty.io/" rel="noreferrer" target="_blank">http://devdoc.almighty.io/</a> that seems to<br>
work.<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
<br>
</blockquote>
<br>
<br>
Not sure why you say it wouldn't work? From my reading, it doesn't seem to<br>
matter if it's a user/org repo or 'any' repo.<br>
</blockquote>
<br></span>
in a CNAME I need to specify just a hostname.<br>
<br>
i.e.<br>
<a href="http://devdoc.almighty.io" rel="noreferrer" target="_blank">devdoc.almighty.io</a> -> <a href="http://almighty.github.io/almighty-devdoc" rel="noreferrer" target="_blank">almighty.github.io/almighty-devdoc</a> is not a hostname - Bad.<br>
<a href="http://devdoc.almighty.io" rel="noreferrer" target="_blank">devdoc.almighty.io</a> -> <a href="http://almighty.github.io" rel="noreferrer" target="_blank">almighty.github.io</a> is a hostname - Good.<br>
<br>
but <a href="http://almighty.github.io" rel="noreferrer" target="_blank">http://almighty.github.io</a> does not contain anything...hence why I say it wouldn't work.<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
</blockquote></div><br></div><div class="gmail_extra">Sure, but...</div><div class="gmail_extra"><br></div><div class="gmail_extra">- This implies it should work; <a href="https://help.github.com/articles/setting-up-your-pages-site-repository/#example-of-a-real-world-cname-file">https://help.github.com/articles/setting-up-your-pages-site-repository/#example-of-a-real-world-cname-file</a></div><div class="gmail_extra">- The CNAME should point to the general GitHub-Servers cluster, not 'our <a href="http://almighty.github.io">almighty.github.io</a>' domain.  (<a href="http://almighty.github.io">almighty.github.io</a> is just an indirection pointing to the same cluster)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://almighty.github.io">almighty.github.io</a> points to the general Github-servers. I assume they will use the given HOST name to lookup in the 'default repo index', if not found will do a lookup in 'our' provided CNAME index. </div><div class="gmail_extra"><br></div><div class="gmail_extra">-aslak-</div></div>