Cocould not reliably determine the server's fully qualified domain name

Source: Internet
Author: User
Tags fully qualified domain name

Always prompts when you restart Apache on the command line

Httpd: cocould not reliably determine the server's fully qualified domain name, US
Ing xxxxxxxxxx for servername

Although it has no impact on the service, it is not very nice to see it clearly.

After searching in Baidu, we realized that it was because servername was not set in the early Apache configuration file.

The method to remove this prompt is very simple,

Find the Apache configuration file httpd. conf and search for # servername www.domain.com: 80 to remove the "#" signed by this line. Restart Apache and the annoying prompt will disappear.

If Apache installation path is apache_root, the path of the httpd. conf file can be expressed as apache_root/CONF/httpd. conf.

Reference: http://apps.hi.baidu.com/share/detail/25225597

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.