mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-08-20 20:34:54 +00:00
.github
content
notes
images
CJK + Latex Support (测试).md
callouts.md
config.md
custom Domain.md
docker.md
editing.md
hosting.md
ignore notes.md
obsidian.md
philosophy.md
preview changes.md
search.md
setup.md
showcase.md
troubleshooting.md
updating.md
private
templates
index.md
quartz
.gitignore
.prettierrc
CODE_OF_CONDUCT.md
LICENSE.txt
README.md
index.d.ts
package-lock.json
package.json
quartz.config.ts
tsconfig.json
tsconfig.tsbuildinfo
17 lines
1.0 KiB
Markdown
17 lines
1.0 KiB
Markdown
---
|
|
title: "Custom Domain"
|
|
---
|
|
|
|
### Registrar
|
|
This step is only applicable if you are using a **custom domain**! If you are using a `<YOUR-USERNAME>.github.io` domain, you can skip this step.
|
|
|
|
For this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).
|
|
|
|
GitHub has some [documentation on this](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site), but the tldr; is to
|
|
|
|
1. Go to your forked repository (`github.com/<YOUR-GITHUB-USERNAME>/quartz`) settings page and go to the Pages tab. Under "Custom domain", type your custom domain, then click **Save**.
|
|
2. Go to your DNS Provider and create a CNAME record that points from your domain to `<YOUR-GITHUB-USERNAME.github.io.` (yes, with the trailing period).
|
|
|
|
*Example Configuration for Quartz*
|
|
3. Wait 30 minutes to an hour for the network changes to kick in.
|
|
4. Done! |