[almighty] GitHub Pages custom domain name

Aslak Knutsen aslak at redhat.com
Wed May 18 12:05:48 UTC 2016


The example in the URL link to this:
https://github.com/muan/emoji/blob/gh-pages/CNAME similar to our
almighty-devdoc, and to this
https://github.com/muan/muan.github.com/blob/master/CNAME which is similar
to the repo we don't have, but would be almighty.github.io.

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
almighty.github.io/almighty-devdoc is just the default mapping.

-aslak-

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

> On 18 May 2016, at 13:38, Aslak Knutsen wrote:
>
> 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)
>>
>>
> I must be blind or something - I only see examples in that doc about how
> to map root sites (i.e. almighty.github.io not
> almighty.github.io/almighty-devdoc) ?
>
>
>
>
> /max
> http://about.me/maxandersen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/almighty-public/attachments/20160518/50de6fbf/attachment.htm>


More information about the almighty-public mailing list