tệp máy chủ ảo httpd của tôi
tất cả các trang web truy cập mong đợi sachin.new đều có thể truy cập được.
"sachin.new" hiển thị "không thể truy cập trang web"
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/srv/http/sachin/public_html/"
<Directory "/srv/http/sachin/public_html/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ServerName sachin.test
ServerAlias www.sachin.test
ErrorLog "/var/log/httpd/sachin.test-error_log"
CustomLog "/var/log/httpd/sachin.test-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/srv/http/DCC/public_html/"
<Directory "/srv/http/DCC/public_html/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ServerName dascc.test
ServerAlias www.dascc.test
ErrorLog "/var/log/httpd/dascc.test-error_log"
CustomLog "/var/log/httpd/dascc.test-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/srv/http/sachinnew/"
<Directory "/srv/http/sachinnew/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ServerName sachin.new
ServerAlias www.sachin.new
ErrorLog "/var/log/httpd/sachinnew.test-error_log"
CustomLog "/var/log/httpd/sachinnew.test-access_log" common
</VirtualHost>