# apacheの起動
systemctl start httpd
# apacheの状態確認
apache -V
# apacheの再起動
systemctl restart httpd.service
# apacheの自動起動の設定を有効にする
systemctl enable httpd
# バーチャルホストの設定
vi /etc/httpd/conf.d/vhost.conf
- Apacheのエラー[httpd: Could not reliably determine the server’s fully qualified domain name]を対策する方法 https://onoredekaiketsu.com/apache-error-fully-qualified-domain-name/