Just emerged Apache2 - can not see web page (gentoo)
GentooThis forum is for the discussion of Gentoo Linux.
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.
The last message is ok - I'm getting it but my apache works fine.
About the second last message I'm not sure. What do you have in your "/etc/hosts"? In my case I have:
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Apache tries to determine what should it tell about your server name on, say, error pages. It failed (it knows that localhost is not a meaningful server name), and as it is listening only on 127.0.0.1 it uses that IP instead of nice.domain.name on 404 page etc.
Apache tries to determine what should it tell about your server name on, say, error pages. It failed (it knows that localhost is not a meaningful server name), and as it is listening only on 127.0.0.1 it uses that IP instead of nice.domain.name on 404 page etc.
The server has a hostname... what do I need to add to get it recognized?
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Make sure Apache is started when IP is already assigned to the interface and set your hostname to the name of the server. Or you can specify ServerName in httpd.conf . http://httpd.apache.org/docs has more information on that..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.