One IP address corresponds to multiple domain names & lt; VirtualHost & nbsp; www. domain name 1: 80 & gt; & nbsp; ServerAdmin & nbsp; [email & #160; protected] & nbsp; & nbsp; DocumentRoot & nbsp; optlampphtdocs domain name 1 Directory & nbsp one IP address corresponds to multiple domain names
ServerAdmin [email protected]
DocumentRoot/opt/lampp/htdocs/domain name 1 Directory
ServerName www. domain name 1
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny, allow
# Alow From all
ServerAdmin [email protected]
DocumentRoot/opt/lampp/htdocs/domain name 2 Directory
ServerName www. domain name 2
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny, allow
# Alow From all
ServerAdmin [email protected]
DocumentRoot/opt/lampp/htdocs/domain name 3 directory
ServerName www. domain name 3
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny, allow
# Alow From all
The problem is that the first two Enis jump to the content of the first domain name when accessing 3rd domain names... ..
------ Solution ----------------------
For Internet configuration, check domain name resolution
For internal network configuration, check The etc hosts file under win.