apache works, website works, but not from outside?
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.
apache works, website works, but not from outside?
I have installed lampp, and have been developing a website.
I have setup a virtual server to map port 1000 to port 80 on my laptop.
I want to customer to be able to use the the website first.
I have turned off iptables but it doesnt seem to want to connect? I can access and work with the webpage from my computer, but from outside I cannot get anything. I cant ping either.
Is there something else I should make in the settings besides the virtual server? i have both tcp and udp selected...
no, iptables has been turned off ...(not permenant, just temporary till I get it figured out, then I will slowly add rules back in till it is complete and still works.
then as sujested above, change the port for your web page and see if you can get it to connect. port 80 maybe blocked by your ISP, so try 8080, or 4050 or some other unused port 1024>, heck try 60000 if you want to get nuts.
If iptables is disabled you will have no way to test if the port is open and working from the external interface because the http request needs to traverse from a public to a private ip scheme accross 2 NIC;s/ Basically if you can access the site via localhost or loopback thats good, apache works. If you type http://<outsideip> and if fails then your iptables need to be tweaked. If that works google a site called sheilds up and have them do a port scan on oyur box to report the open ports and adjust your iptables accordingly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.