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 am trying to get a web server on the internet. I have a fixed IP address from my ISP. I also have a fiirewall/router that forwards. The ftp server on the same machine is fine and is accessable from the internet.
Apache is running fine. No issues with the Apache logs or the Linux logs. When I use a browser and type the IP address of the machine in the browser address field of another machine, the website appears no problem. However, when I try to access the web server from the internet, the browser either stalls or times out. I have an old IIS server sitting here that has been servicing the internet on my network for years. I think the issue is with Apache and 'ServerName'. Does this have to match a DNS resolvable name? What about being behind a firewall? What about using 'VirtualName' to simulate the proper domain name?
This is my first attempt at Linux Apache on the internet. Please help.
Ip-Tables is the software firewall in linux, make sure if it's accepting incoming connections from the internet.. I don't have any idea as to what the default firewall is in Libranet, wait WWW.distrowatch say's Iptables ,so check if its running on your system.
Stop the firewall, for the purpose of testing, you can later configure the firewall rule's once you get Apache going..
I got it working. Thanks to everyone who responded.
I did not get Apache to respond through conventional means however. Everything I tired resulted in
Apache not to respond when I hit the server from the Internet. The server, however does respond properly
when you hit it from the Intranet.
I got it working by using a Proxy server on a Windows machine (it does both outgoing on incoming) to
redirect all requests on port 80 to the Linux machine. I am not completly happy with this solution but at
least it is working. One negative side effect is that the Apache logs show all requests from the Internet
coming from the proxy.
One day, I'll rip the whole thing apart and put the web and ftp server in front of the firewall where they
belong. That will mean I will have to create a DMZ though. Any suugestions on where to begin
researching this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.