LoginSignup
0

More than 5 years have passed since last update.

Gitbookのカスタムドメインを試してみた

Last updated at Posted at 2017-01-10

Gitbookでカスタムドメインを試してみました。
無料で、カスタムドメインを設定できました。

以下の通り
- 火の型 With Scratch (ゲームプログラム入門) http://firebook.firefirestyle.net/
- 炎の型 With Scratch (ゲームプログラム入門) http://firefirebook.firefirestyle.net
- 炎の型 (漫画版) 第1巻 Scratchでプログラム入門 Tennis For Twoを作ってみよう!! http://firefiremanga00.firefirestyle.net/

設定方法

DNSとGitbookの設定が必要です。そんなに複雑ではないです。

(1) DNSの設定

ドメインを取得したレジストラー等でDNSを変更してください
cname firefirebook www.gitbooks.io.
cname firebook www.gitbooks.io.
cname firefiremanga00 www.gitbooks.io.

※ アドレスの部分は読み変えてください。

(2) GitBook側の設定

Gitbook側にの利用するカスタムドメインを設定します。

https://www.gitbook.com/@kyorohiro
に移動後、各々の本の設定画面に移動する
※ kyorohiro の部分は読み変えてください。

1. Settingをクリック

a0.png

2. Domainをクリックすると、Custom Domains のページが表示されるので、カスタムドメインを入力

a1.png

firefirebook.firefirestyle.net と入力する。
これで、登録ができました。

PS

Gitbookのユーザーページへの移動が、分かりにくくなるので、
誘導するリンクを追加した方が良いかも知れません

私はの場合、以下のページに誘導しにくくなった
印象を受けました。
https://www.gitbook.com/@kyorohiro

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
0