Connect Domain

18 views
Skip to first unread message

Borschts

unread,
Jul 22, 2020, 4:17:07 AM7/22/20
to nikola-discuss
How can I put my nikola blog on my domain?

Roberto Alsina

unread,
Jul 22, 2020, 5:45:38 AM7/22/20
to Nikola—Discuss
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.

wikiwe...@gmail.com

unread,
Jul 22, 2020, 7:30:27 AM7/22/20
to nikola-discuss
My main domain name is already in use, so can't I use nikola in my subdomain name to create a blog?

Chris Warrick

unread,
Jul 22, 2020, 7:38:48 AM7/22/20
to Nikola—Discuss
On Wed, 22 Jul 2020 at 13:30, wikiwe...@gmail.com
<wikiwe...@gmail.com> wrote:
>
> My main domain name is already in use, so can't I use nikola in my subdomain name to create a blog?

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
Reply all
Reply to author
Forward
0 new messages