Apache has configured a multi-domain site, but access to the third domain site shows the page is indeed the first domain site?

Source: Internet
Author: User
RT, my centos6.5 system server previously set two domain name sites, everything is normal, but today set a third domain name site (the method is exactly the same as the previous two) however, when you open the third domain name site, it is indeed the content of the first domain name site. the server has been restarted for N times... RT, my centos6.5 system server previously set two domain name sites, everything is normal, but today set a third domain name site (the method is exactly the same as the previous two) however, opening the third domain name site shows that it is indeed the content of the first domain name site, the server has been restarted N times, and the web Directory is certainly correct (because I read the content returned by phpinfo, indeed, script_root is indeed the B path when accessing domain name a). So what is the problem?

Reply content:

RT, my centos6.5 system server previously set two domain name sites, everything is normal, but today set a third domain name site (the method is exactly the same as the previous two) however, opening the third domain name site shows that it is indeed the content of the first domain name site, the server has been restarted N times, and the web Directory is certainly correct (because I read the content returned by phpinfo, indeed, script_root is indeed the B path when accessing domain name a). So what is the problem?

Check whether the port configuration is correct.
There is also a better way to paste the configuration. I don't know which method you are using.

Check if the host is bound?

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 is best to publish the configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.