You can host Nikola anywhere. A subdomain or a subdirectory is fully
supported. Nikola doesn’t care.
If you want to host on the same server, and if you manage it:
1. Configure DNS for the subdomain. CNAME to the main domain is usually enough.
2. Configure your HTTP server (apache/nginx) to add a virtual host
(apache)/server block (nginx) for the subdomain
3. Put your Nikola output files in the directory you set as your root
in the site’s config in apache/nginx
If you want to use GitHub Pages:
https://docs.github.com/en/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site
If you are using anything else: refer to the documentation of your
hosting solution. Shared web hosts, for example, allow you to add a
subdomain from the admin panel.
> Roberto Alsina在 2020年7月22日星期三下午5:45:38 [UTC+8]寫道:
>>
>> On Wed, Jul 22, 2020 at 5:17 AM Borschts <
wikiwe...@gmail.com> wrote:
>>>
>>> How can I put my nikola blog on my domain?
>>>
>>>
>>
>> The answer is, as usual "it depends".
>>
>> Basically, Nikola produces a folder of HTML and related things. If you already have a site in your domain, you need to check the documentation provided by your hosting provider to see how to publish that.
>>
>> If you are starting up with a new domain, it's not so hard, you can just put the Nikola output in something like github sites and follow the documentation to point your domain there.
>>
>>
https://docs.github.com/en/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site
>
> --
> You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nikola-discus...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/nikola-discuss/5a5e3525-0e8f-4b2c-87ee-210405601343n%40googlegroups.com.
--
Chris Warrick <
https://chriswarrick.com/>
PGP: 5EAAEA16