Apache has set up a multi-domain name site, but when accessing the third domain name site, it is indeed the page of the first domain name site?

WBOY
Release: 2016-09-19 09:16:27
Original
1285 people have browsed it

RT, my centos6.5 system server previously set up two domain name sites and everything was fine, but today I set up a third domain name site (the method is absolutely the same as the previous two), but when I open the third domain name site, it shows that As for the content of the first domain name site, the server has been restarted and changed many times. The web directory and the like must be filled in correctly (because I read the content returned by phpinfo and it is true that the a domain name is accessed, and script_root is indeed the b path), so I would like to ask. What exactly is the problem?

Reply content:

RT, my centos6.5 system server previously set up two domain name sites and everything was fine, but today I set up a third domain name site (the method is absolutely the same as the previous two), but when I open the third domain name site, it shows that As for the content of the first domain name site, the server has been restarted and changed many times. The web directory and the like must be filled in correctly (because I read the content returned by phpinfo and it is true that the a domain name is accessed, and script_root is indeed the b path), so I would like to ask. What exactly is the problem?

Check if there is any problem with the port configuration.
It’s also best to post the configuration. I don’t know which method you used.

Have you checked the host binding?

if the three's port and ip is same as the one;
you will get the ONE.
you can't get the three.
please paste your configure of appache

It’s best to send a screenshot of the configuration

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template