I'm setting up a PHP web server on OpenBSD. phpinfo()
is up and running.
But, every time I try to install Wordpress, it's redirecting the client to the dummy hostname created on OS install (mycomputer.my.domain
), which obviously doesn't load.
I've changed the hostname to localhost in /etc/myname
and restarted the system. Typing in hostname gets me localhost
.
phpinfo()
shows:
System OpenBSD localhost 5.5 GENERIC#276 i386
Hostname:Port localhost:80
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Hiawatha v9.2
_SERVER["SERVER_ADDR"] 0.0.0.0
_SERVER["REDIRECT_STATUS"] 200
_SERVER["HTTP_HOST"] 192.168.1.102
I've tried on both Hiawatha and Apache with the same results.
Where is Wordpress still pulling mycomputer.my.domain
from and how do I get it to stop?