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.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Setting up Apache HTTP server
I think I'm almost there in terms of setting up a HTTPd server with Apache, but I don't know the details. Here is what I have done basically:
1) I got the Apache server running
2) I setup a hostname at www.dyndns.org (micro420.mine.nu)
3) I changed my router configuration to forward port 80 to my server, 192.168.2.2
I tried reading the official documentation for the Apache HTTPd server, but it's confusing! It's more like "Good luck finding what you need in this massive documentation" rather than "Okay, here's what you do step-by-step".
I know for sure my router doesn't support "natting back to the lan" (I'm pretty sure it's called loopback?)
Anyway, ask a friend to visit the website. If not, try something like Webscale. That would connect to your server and give you details about your website.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
I went to www.proxify.com and entered my website, but nothing came up. That's because I can't connect to micro420.mine.nu, yet.
I also checked out the webscale website, and again, it could not find the website. That's because my website isn't out on the internet yet. So that is my problem: how do I get my website exposed out on the internet???? It can ONLY be access internally.
What ISP do you have? If your ISP does block port 80, it probably says somewhere in their TOS that running a server is not allowed.
You can check it by changing the port that apache listens on from 80 to 81 or 88 - something that's not already in use. Don't forget to change the configuration in your router to foward to the new port.
Afterwards, do a portscan at www.grc.com, and that will tell you whether the new port is open or not. If it is, then it's likely that your ISP is blocking port 80.
If you gave your true domain name above then it isn't set up right. I can't resolve an IP for it:
rossy - trigger - Sat Feb 26 19:59:18
~> dig +short micro420.mine.nu
rossy - trigger - Sat Feb 26 19:59:56
~>
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
Quote:
Originally posted by david_ross If you gave your true domain name above then it isn't set up right. I can't resolve an IP for it:
rossy - trigger - Sat Feb 26 19:59:18
~> dig +short micro420.mine.nu
rossy - trigger - Sat Feb 26 19:59:56
~>
Yes, it is a false address because the REAL website is actually myrealname.mine.nu and I didn't want to post it.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
Quote:
Originally posted by mikeheggy What ISP do you have? If your ISP does block port 80, it probably says somewhere in their TOS that running a server is not allowed.
You can check it by changing the port that apache listens on from 80 to 81 or 88 - something that's not already in use. Don't forget to change the configuration in your router to foward to the new port.
Afterwards, do a portscan at www.grc.com, and that will tell you whether the new port is open or not. If it is, then it's likely that your ISP is blocking port 80.
Good news is that port 80 is OPEN, however GRC detects that as a security threat, but that's okay with me.
I'm thinking it's either now a www.dyndns.org configuration problem or an Apache configuration problem.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
Quote:
Originally posted by sarin Do an nslookup/dig on your hostname and that should tell you if the dyndns is fine or not. I have worked with httpd long back.
(Edited)Sorry, I had mentioned about acl. But ACL comes in Squid and not in httpd. So removing it.
--Sarin
nslookup myrealname.mine.nu
Server: DHC1TF31
Address: 192.168.2.1 <--- This is my second router gateway address, which the server is NOT connected to. Very weird
Name: myrealname.mine.nu
Address: 67.180.140.102 <--- this is my correct Comcast IP address.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
Re: Apache
Quote:
Originally posted by lennysokol Is this running on Linux? If so, did you start the service?
go to the terminal and type in:
service httpd start
then go to http://localhost in firefox. If you receive a page, your in the right direction!
No, I am running Apache in Windows 2000. The Service is running as I see it in the tray. When I do http://127.0.0.1, or 192.168.2.2, I can see the webpage. But, when I do http://myrealname.mine.nu, it says the connection was refused.
As for the websitepulse, it would not matter since people outside my network cannot see my server or webpage. It would just think that I typed in some non-existent website.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.