问题原文
原帖链接 · lilsolar · CC BY-SA 4.0
I secured domain on register.ca, and I have it in my account. How would I go about actually uploading my HTML & CSS files onto the website? Previously, I just used GitHub to host my sites, so I'm not very familiar with the whole site hosting thing.
I've tried googling tutorials, but they don't seem to work for me.
已采纳解答
原帖链接 · I.Am.A.Guy · CC BY-SA 4.0
Since you've mentioned using GitHub Pages to host your site in the past, here's an answer that allows you to add the domain you've bought directly to your GitHub Pages deployment.
- Navigate to the settings tab of the repository.
- Navigate to Pages > Custom domain and fill it out with your domain name. Save your changes.
- Finally, visit your registrar and add a
CNAMEDNS Record to alias your domain to your GitHub site. You may need to delete existing records.
More information available in the GitHub docs
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
