1週間ほど前に初めてLinuxやサーバー周りの操作をはじめた初学者です。
実現したいこと
独自ドメインに接続すると自身のサーバー(ブログ)にアクセスできるように設定をしたいです。
事前情報
<使用OS>
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
<Apache>
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2022-06-23T12:51:37
<MySQL>
mysql Ver 15.1 Distrib 10.1.48-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
<サーバー>
KAGOYA CLOUD VPSサービスを利用しています。
<ドメイン>
mydomain.com
※Xサーバードメインを利用しています。
他に必要な情報があれば、恐れ入りますがご教示いただけますと幸いです。
<現在の状況>
- Wordpressのインストールは終わり、管理画面へのアクセスや記事の投稿は可能です。
- kagoya cloud vps側にmydomainのドメインは登録済みです。
- Xサーバードメイン側にkagoyaのネームサーバーは登録済みです。
- インスタンスのIPアドレスであれば投稿ページ・管理ページともにアクセス可能です。
- h4ru.netへの接続はできず、SSLの証明書発行もできていません。
Certbot使用時のエラーメッセージ
Which names would you like to activate HTTPS for?
1: mydomain.com
2: www.mydomain.com
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mydomain.com
http-01 challenge for www.mydomain.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mydomain.com (http-01): urn:ietf:params:acme:error:dns :: no valid A records found for mydomain.com; no valid AAAA records found for mydomain.com
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: mydomain.com
Type: None
Detail: no valid A records found for mydomain.com; no valid AAAA
records found for mydomain.com
ご相談したい内容
- 独自ドメインにアクセスできないのは、SSLの設定ができていないからでしょうか?
- SSLの設定ができていないのはAレコードやAAAAレコードの設定ができていないからでしょうか?
- 最終的に独自ドメインに接続すると、自身のブログに接続できるような状態にしたいのですがまずは何をすべきでしょうか。
お忙しい中恐れ入りますが、何卒お力添えのほどよろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。