[Warn] _ default _ virtualhost overlap on port 88, the first has precedence

Source: Internet
Author: User

When lnmpa was used, a strange error was found.

[Warn] _ default _ virtualhost overlap on port 88, the first has precedence

Because lnmpa Apache listens to port 88, it is usually port 80.

When this problem occurs, I searched for the network and found that many of them removed comments from a post... the post was not detailed.

It is difficult for people who have just been in touch to figure out how to solve the problem.

Complete configuration is provided here

Because my host www.ifeisu.com is configured in the vhost/directory and included in httpd. conf.

The separate configuration file is as follows:

Namevirtualhost *: 88

<Virtualhost *: 88>
Serveradmin webmaster@example.com
Php_admin_value open_basedir "/home/wwwroot/www.ifeisu.com:/tmp/:/var/tmp/:/proc /"
DocumentRoot "/home/wwwroot/www.ifeisu.com"
Servername www.ifeisu.com
Errorlog "logs/www.ifeisu.com-error_log"
Customlog "logs/www.ifeisu.com-access_log" common
</Virtualhost>

The red font is the key. Just add this sentence. 88 is the port of my service listener. The default value is port 80.

Change it to 80.

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.