---
title: "waiting apache2: Could not reliably determine the server's fully qualified domai"
author: "flowerwrong"
date: "2014-11-15T14:53:20Z"
tags: []
categories: ["企业架构"]
slug: "waiting-apache2-could-not-reliably-determine-the-server-s-fully-qualified-domai"
draft: false
lastmod: "2014-11-15T14:53:20Z"
id: 2156501
url: "https://flowerwrong.iteye.com/blog/2156501"
---

ubuntu 12.04

```
waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
```

 

解决方法

```
# http://aslamnajeebdeen.com/blog/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu

sudo vim /etc/apache2/httpd.conf
# ServerName localhost
sudo service apache2 restart
```