shokun0803 様
ご教示いただいた内容で設定してみます。
お忙しい所、ご回答ありがとうございました。
解決済みとさせていただきます。
shokun0803 様
お忙しい所、度々申し訳ございません。
>GMOクラウドの旧シリーズのようですね、つまりVPSってことであってますでしょうか。
だとすると、どなたかが構築されていると思いますが、WebサーバーはApacheになりますか?
VPSになっており、WebサーバはApacheになります。
>通常はVartual hostを作成してサブドメインを充てることになると思います。
こちら大変参考になりました。
以下、Apacheのページから抜粋しました。
(https://httpd.apache.org/docs/2.4/ja/vhosts/examples.html)
——————————-
サーバ設定
# Ensure that Apache listens on port 80
Listen 80
# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /www/example1
ServerName http://www.example.com
# Other directives here
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /www/example2
ServerName http://www.example.org
# Other directives here
</VirtualHost>
——————————-
同じIPでwww.example.comでアクセスされた場合は/www/example1を、www.example.orgでアクセスされた場合は/www/example2といった認識であっていますでしょうか。
shokun0803 様
ご返信いただきありがとうございます。
現在、弊社で使用しているのがGMO publicといったサービスなのですが、ご教示いただいた管理機能は見た限りですとなさそうです。。。
.htaccessなどで制御はできるのでしょうか。