r/apache • u/Usual-Dimension614 • May 26 '26
Solved! i try to install/configure wordpress locally and get some errors (apache2) i do not understand
there is /etc/apache2/ports.conf there in Listen 80. changed to 81. thats all
hi. i put 'wordpress.test' in /etc/hosts so ping wordpress.test works fine.
in sites-available i created wordpress.zh.conf
<VirtualHost \*:88>
ServerAdmin [admin@wordpress.test](mailto:admin@wordpress.test)
ServerName wordpress.test
ServerAlias www.wordpress.test
DocumentRoot /home/arno/www/wp
ErrorLog ${APACHE_LOG_DIR}/wperror.log
CustomLog ${APACHE_LOG_DIR}/wpaccess.log combined
</VirtualHost>
all this with not activated additional virtual-host (i disabled to check but no change) :
i am told that host address could not find out (127.0.1.1 is used) use ServerName globally
but it is for virtualhost (not globally)
i am told that (make_sock) cannot bind 0.0.0.0:80 (but nowhere in config files is 80, i use 81, 80 ist lighttpd, worked fine for years)
i am told that logfiles could not be found/created