Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
i have redhat 9; i installed the web server package with apache and the appropriate packages. i have turned on the service. i have put an index.htm file in the var/www and var/www/html folders
but i still can not access the index page from inside my local network. i put in the local ip address of the webserver 192.168.200.40 in ie and the "Page cannot be displayed" error comes up
Have you edited the Apache config file? When you enter in to your browser http://[ip here]/index.htm, does anything come up? Have you tried restarting Apache since you put the file there?
I don't use redhat so don't know the specifics of it. However the configuration file, httpd.conf , has to be there somewhere. If you haven't already, try looking through it. I don't think apache refuses remote connections by default but it can be configured to, and distros sometimes change defaults to what they think is best. Can't hurt to have a look.
Make sure your /etc/hosts file is setup correctly. I went round-and-round with Apache in RH9 with almost the same problems you're having. My hostname had to resolve to localhost, but the hostname.domainname had to resolve to the external IP address or I got 404 from anywhere outside "localhost"... Whatever hostname.domainname you use should also be present in the apache config.
I also remember the situating changing with Apache verision. that is, with the old verision the whole host.domainname had to resolve to localhost, but that broke Apache completely after an upgrade.
Sorry I'm spotty with the details, but it was a while ago and I don't have the hosts file handy to see what I ultimately did... Hope this helps though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.