Kod
* Starting web server apache2
: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/apache2.conf:227
(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 89.73.25.244:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/apache2.conf:227
(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 89.73.25.244:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
apache2.conf
Kod
ServerName 89.73.25.244:80
# Ensure that Apache listens on port 80
Listen 89.73.25.244:80
# Listen for virtual host requests on all IP addresses
NameVirtualHost 89.73.25.244:80
<VirtualHost 89.73.25.244:80>
# ServerName mateuszpc
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/html/development">
AllowOverride All
Require local
Allow from all
</Directory>
</VirtualHost>
# Ensure that Apache listens on port 80
Listen 89.73.25.244:80
# Listen for virtual host requests on all IP addresses
NameVirtualHost 89.73.25.244:80
<VirtualHost 89.73.25.244:80>
# ServerName mateuszpc
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/html/development">
AllowOverride All
Require local
Allow from all
</Directory>
</VirtualHost>
Na 127.0.0.1 działa OK. Pozdrawiam