If you're running a fixed IP (version 4 only) then you should change your hosts file to look like this:
Code: Select all
192.168.126.128 migentoo.<your_domain>.<ext> migentoo
# IPv4 localhost aliases
127.0.0.1 localhost
So it may look like this:
Code: Select all
192.168.126.128 migentoo.org migentoo
# IPv4 and IPv6 localhost aliases
127.0.0.1 localhost
I think you must use a fully qualified domain name in your hosts file and it must match the one in httpd.conf next to the "ServerName" keyword.
I haven't tried to get it working without FQDN.
To do it with dhcp I think it would be like this (but am not sure)
Code: Select all
# IPv4 and IPv6 localhost aliases
127.0.0.1 migentoo.org localhost
I'm not positive that will work mind you, you need to google FQDN syntax for hosts files.
Please also note that all this information must match the rest of the data in /etc/conf.d/net and /etc/conf.d/hostname and /etc/conf.d/dnsdomainname (if you have one, I think that's now gone).
Also remember /etc/resolve.conf must be correct...
I think this is why apache won't start.
Raydude
PS as for where to specify fixed IP:
/etc/conf.d/net:
Code: Select all
config_eth0=( "192.168.0.1/24" )
routes_eth0=("default via 192.168.0.254")
Note: these are my IPs, yours are different.
Some day there will only be free software.