On Wed, 22 Jul 2020 at 13:30, [email protected]
<[email protected]> 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 <[email protected]> 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 [email protected].
> 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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7LQbvh98p493%2BMRcnwGturMam%2Bsgk%2BDuSr%2Bp-s9A1Qarg%40mail.gmail.com.

Reply via email to