大网数据广告活动
网站运营与故障问答

How can I upload my files to a domain that I bought?

· 52CE 我爱测

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 …

问题原文

原帖链接 · 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.

  1. Navigate to the settings tab of the repository.
  2. Navigate to Pages > Custom domain and fill it out with your domain name. Save your changes.
  3. Finally, visit your registrar and add a CNAME DNS Record to alias your domain to your GitHub site. You may need to delete existing records.

More information available in the GitHub docs

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2022-08-25)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。