お名前.com VPS サブドメイン設定
設定ファイル(vhost.conf)新規作成
(/etc/httpd/conf.d/vhost.conf の IncludeOptional conf.d/*.conf で vhost.conf が読み込まれる)
# vi /etc/httpd/conf.d/vhost.conf
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/fuga.hoge.com
ServerName fuga.hoge.com
<Directory /var/www/html/fuga.hoge.com>
AllowOverride All
</Directory>
</VirtualHost>
// 再起動
# service httpd restart
DNSレコード設定(お名前.com管理画面)
ホスト名 TYPE TTL VALUE fuga.hoge.com A 3600 サーバーIPアドレス