Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
eth0 Link encap:Ethernet HWaddr 00:24:1D:30:7F:3D
UP BROADCAST MULTICAST MTU:1500 Metric:1
...
wlan0 Link encap:Ethernet HWaddr 00:23:CD:CB:9C:5E inet addr:196.219.240.236 Bcast:196.219.240.239 Mask:255.255.255.248
...
You don't have assign an IP address for your ethernet card, but only for your wireless.
You can use the wlan IP address if you want, or use a wildcard:
Edit /etc/httpd/conf/httpd.conf and use
Well, I've already told you not to be impatient. You should read more carefully what we are telling you to do.
These are not commands. They are apache directives you should change in /etc/httpd/conf/httpd.conf
Open /etc/httpd/conf/httpd.conf, look for NameVirtualHost and edit it to be
Code:
NameVirtualHost *:80
Then in the same /etc/httpd/conf/httpd.conf, edit <VirtualHost 196.219.240.238> and change it to <VirtualHost *:80>
Did you also changed NameVirtualHost as above?
You can also set ServerName to nameserver.iac.lan, but that's not important.
After editing NameVirtualHost (and ServerName if you want) in /etc/httpd/conf/httpd.conf, try to start the service.
If it doesn't start look at /var/log/httpd/error_log
root@nameserver [~]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for nameserver.iac.lan
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
[FAILED]
root@nameserver [~]#
httpd: apr_sockaddr_info_get() failed for nameserver.iac.lan
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
root@nameserver [~]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for nameserver.iac.lan
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
[FAILED]
root@nameserver [~]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.