LoginSignup
2
2

More than 5 years have passed since last update.

github pagesに独自ドメインを設定する際の注意

Posted at

CNAMEというファイルをリポジトリのrootにpushし、ドメイン名を記載しておくと独自ドメインを設定出来る。

hogehoge.com

2個以上のリポジトリでCNAMEをpushしても、最古のCNAMEファイルが優先される。(上書きされない)

更新したい場合

2個以上をPUSHした状態で1個目のCNAMEファイルを消しても404 Notfoundになる。

その後2個目のCNAMEをpushし直すと2個目に設定される。

2
2
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2