<div dir="ltr">The example in the URL link to this: <a href="https://github.com/muan/emoji/blob/gh-pages/CNAME">https://github.com/muan/emoji/blob/gh-pages/CNAME</a> similar to our almighty-devdoc, and to this <a href="https://github.com/muan/muan.github.com/blob/master/CNAME">https://github.com/muan/muan.github.com/blob/master/CNAME</a> which is similar to the repo we don't have, but would be <a href="http://almighty.github.io">almighty.github.io</a>.<div><br></div><div>I _think_ the setup is the same for both. Place a CNAME file in the repo and make the CNAME record of the subdomain point to the GitHub servers. GitHub infrastructure will figure out the rest. The <a href="http://almighty.github.io/almighty-devdoc">almighty.github.io/almighty-devdoc</a> is just the default mapping.</div><div><br></div><div>-aslak-</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 1:58 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 18 May 2016, at 13:38, Aslak Knutsen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, May 18, 2016 at 12:38 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 18 May 2016, at 12:32, Aslak Knutsen wrote:<br>
<br>
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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
wrote:<br>
<br>
On 13 May 2016, at 15:58, Aslak Knutsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Max,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
<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>
<br>
</blockquote>
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>
<br>
</blockquote>
<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>
<br>
</blockquote>
<br>
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<br>
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<br>
it wouldn't work.<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
<br>
</blockquote>
<br>
Sure, but...<br>
<br>
- This implies it should work;<br>
<a href="https://help.github.com/articles/setting-up-your-pages-site-repository/#example-of-a-real-world-cname-file" rel="noreferrer" target="_blank">https://help.github.com/articles/setting-up-your-pages-site-repository/#example-of-a-real-world-cname-file</a><br>
- The CNAME should point to the general GitHub-Servers cluster, not 'our<br>
<a href="http://almighty.github.io" rel="noreferrer" target="_blank">almighty.github.io</a>' domain.  (<a href="http://almighty.github.io" rel="noreferrer" target="_blank">almighty.github.io</a> is just an indirection<br>
pointing to the same cluster)<br>
<br>
</blockquote>
<br></div></div>
I must be blind or something - I only see examples in that doc about how to map root sites (i.e. <a href="http://almighty.github.io" rel="noreferrer" target="_blank">almighty.github.io</a> not <a href="http://almighty.github.io/almighty-devdoc" rel="noreferrer" target="_blank">almighty.github.io/almighty-devdoc</a>) ?<br>
<br>
<br>
<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
</blockquote></div><br></div>