0rcan0mic.com
何らかの理由で、メイン サーバーのの内容が別のサーバーの の内容より優先されます。の loadingの内容ではなく、constantcounselling.com
の hello world を表示したいです。Apache は実行中です。constantcounselling.com
0rcan0mic.com'
constantcounselling.com
0rcan0mic.com
また、 (メイン サーバー)と同じサーバー上のドメインの場合、 やmybestfriendsarecats.com
のように、hello world が表示されますorcaaccounting.com
。
結果httpd -S
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using requin.themartialartsofmoney.com. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:443 requin.themartialartsofmoney.com (/etc/httpd/conf.d/ssl.conf:56)
*:80 constantcounselling.com (/etc/httpd/conf.d/constantcounselling.com:1)
ServerRoot: "/etc/httpd"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/etc/httpd/logs/error_log"
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex authn-socache: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/run/httpd/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex authdigest-opaque: using_defaults
PidFile: "/run/httpd/httpd.pid"
Define: _RH_HAS_HTTPPROTOCOLOPTIONS
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="apache" id=48
Group: name="apache" id=48
仮想ホスト
<VirtualHost *:80>
ServerName constantcounselling.com
ServerAlias www.constantcounselling.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/constantcounselling.com/public_html
ErrorLog /var/log/httpd/constantcounselling.com-error.log
CustomLog /var/log/httpd/constantcounselling.com-access.log combined
<Directory "/var/www/constantcounselling.com/public_html">
AllowOverride All
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =constantcounselling.com [OR]
RewriteCond %{SERVER_NAME} =www.constantcounselling.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:80>
ServerName 0rcan0mic.com
ServerAlias www.0rcan0mic.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/0rcan0mic.com/public_html
ErrorLog /var/log/httpd/0rcan0mic.com-error.log
CustomLog /var/log/httpd/0rcan0mic.com-access.log combined
<Directory "/var/www/0rcan0mic.com/public_html">
AllowOverride All
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.0rcan0mic.com [OR]
RewriteCond %{SERVER_NAME} =0rcan0mic.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
助けていただければ幸いです。何週間もこの問題で行き詰まっています。