自webサーバでサブドメインを追加する方法
# vi /etc/httpd/conf/httpd.conf
NameVirtualHost *:80
ServerName www.xxxx.com
DocumentRoot ドキュメントルート
ServerName サブドメイン.xxxx.com
DocumentRoot ドキュメントルート
DNSを設定する
サブドメイン IN A IPアドレス
自webサーバでサブドメインを追加する方法
# vi /etc/httpd/conf/httpd.conf
NameVirtualHost *:80
ServerName www.xxxx.com
DocumentRoot ドキュメントルート
ServerName サブドメイン.xxxx.com
DocumentRoot ドキュメントルート
DNSを設定する
サブドメイン IN A IPアドレス