[almighty] GitHub Pages custom domain name

Aslak Knutsen aslak at redhat.com
Wed May 18 11:38:45 UTC 2016


On Wed, May 18, 2016 at 12:38 PM, Max Rydahl Andersen <manderse at redhat.com>
wrote:

> On 18 May 2016, at 12:32, Aslak Knutsen wrote:
>
> On Tue, May 17, 2016 at 11:51 AM, Max Rydahl Andersen <manderse at redhat.com
>> >
>> wrote:
>>
>> On 13 May 2016, at 15:58, Aslak Knutsen wrote:
>>>
>>> Max,
>>>
>>>>
>>>> Could you register a subdomain on almighty.io or almighty.run, not sure
>>>> which we want to use...
>>>>
>>>> e.g. doc.almighty.io
>>>>
>>>> So we can map in our DevDoc repo there;
>>>>
>>>> https://help.github.com/articles/using-a-custom-domain-with-github-pages/
>>>>
>>>>
>>> I gave this a try. I don't think a CNAME works here since the actual url
>>> we currently build to is http://almighty.github.io/almighty-devdoc/.
>>>
>>> I've setup a masked forward for http://devdoc.almighty.io/ that seems to
>>> work.
>>>
>>> /max
>>> http://about.me/maxandersen
>>>
>>>
>>
>> Not sure why you say it wouldn't work? From my reading, it doesn't seem to
>> matter if it's a user/org repo or 'any' repo.
>>
>
> in a CNAME I need to specify just a hostname.
>
> i.e.
> devdoc.almighty.io -> almighty.github.io/almighty-devdoc is not a
> hostname - Bad.
> devdoc.almighty.io -> almighty.github.io is a hostname - Good.
>
> but http://almighty.github.io does not contain anything...hence why I say
> it wouldn't work.
>
> /max
> http://about.me/maxandersen
>

Sure, but...

- This implies it should work;
https://help.github.com/articles/setting-up-your-pages-site-repository/#example-of-a-real-world-cname-file
- The CNAME should point to the general GitHub-Servers cluster, not 'our
almighty.github.io' domain.  (almighty.github.io is just an indirection
pointing to the same cluster)

almighty.github.io 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.

-aslak-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/almighty-public/attachments/20160518/204c6a0f/attachment.htm>


More information about the almighty-public mailing list