Здравствуйте!
Установил Апач и у меня ту же возникла проблема:
аpache2: Could not reliably determine the server's fully qualified domain name, Я ее решил как описанно вот здесь:
https://forum.ubuntu.ru/index.php?topic=34357.0httpd.conf у меня имеет следующий вид:
NameVirtualHost localhost
ServerName localhost
<VirtualHost localhost>
ServerName "po"
DocumentRoot "/home/realbot/www/po"
DirectoryIndex index.php index.html index.htm
</VirtualHost>
Теперь на команду
/etc/init.d/apache2 start сервер стартует нормально, НО
на
/etc/init.d/apache2 restart,
/etc/init.d/apache2 stopпишет:
* Stopping web server apache2
httpd (no pid file) not running
[ OK ]
и при якобы работе сервера ни
http://localhost, ни
http://po, не доступны (папки есть и в них лежат index.html)
Файл /etc/hosts выглядет так:
127.0.0.1 localhost
127.0.0.1 po
127.0.1.1 realbot
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Пожалуйста, помогите решить проблему. Заранее спасибо!