13
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ConoHaに独自ドメインを設定

Posted at

ConoHaにムームードメインで取得した独自ドメインを設定したので、作業メモ

ドメイン取得

ムームードメインで好みのドメインを取得します。

ドメインのDNS登録

ConoHaのコントロールパネルからDNS→ドメインを選択し、取得したドメインを登録します。
また、下記を追加します。

タイプ:A(通常)
名称:www
値:<ConoHaのコントロールパネルで、サーバ→サーバを選択→ネットワーク情報→IPアドレスで出てくるIPアドレスを設定>

ムームードメインへの登録

ムームードメインのコントロールパネルで、ドメイン管理→ドメイン操作→ネームサーバ設定変更を選択し、取得したドメインの「ネームサーバ設定変更」を選択します。
GMOペパボ以外のネームサーバを選択し、ConoHaのドメイン追加時に出てきたNSのアドレスを設定します。

apacheに設定

/etc/hosts
192.168.11.1 www.name.com server-name

apacheを再起動

$ sudo /etc/init.d/apache2 restart

13
11
0

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
13
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?