Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I RECENT INSTALLED APACHE SERVER ONTO MY SYSTEM I USED THE CONFIGURATION TOOL TO SET THE SERVER UP. I TESTED IT, AND I GET THE SUCCESSFUL PAGE. BUT I AM NOT SURE OF THE VALUES FOR IP I USED THROUGH THE PROCESS. THESE ARE MY QUESTIONS:
MY COMPUTER IS SETTING UP THE LAN IP DYNAMICALLY, DO I NEED TO CHANGE THAT TO THE IP ADDRESS THAT MY ISP PROVIDES TO ME. SUCH AS 192.168.4.1, WHICH IS NOT THE STATIC IP BUT THE BUFFER IP. I REALLY NEED TO UNDERSTAND THE DIFFERENCE BETWEEN THE STATIC IP AND WHERE TO APPLY IT, OR DO I USE IT AT ALL IN SETTING UP THE SERVER. THE CONFIGURATION TOOL ASK FOR AN IP ADDRESS, BUT I DONT KNOW WHICH ONE TO USE.. PLEASE HELP.. MY STATIC STARTS WITH 24.173.XXX.XXX.
I AM SETTING UP A STANDALONE SERVER THAT WILL HOST ONLY ONE SITE, NO VIRTUAL SITES...
Please don't type in all caps. It's considered shouting. IPs starting with 192.168 are private IPs and will not be visible outside of your internal LAN (there are a couple of other such reserved ranges, such as all addresses beginning with 10). Therefore, if you want anybody outside of your network to access your server, you'll need to either make your server use your IP's static address, or set up a router that uses that address and forwards requests to port 80 to the internal IP of your Web server.
Also, for some dumb reason it is a violation of some ISPs terms of service to run a server on their network. Check if you're not sure. Goiod luck!
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Dynamic IP are assigned via DHCP and are renewed be default every 8 days. This would be very bad for a server due to the fact that if the ip changes all systems looking for them would not be able to find them. So ALL SEVERS, NFS, WEB, AD, NIS etc... Must have STATIC IP ADDRESSES...let the workstations be updated dynamically via DHCP
inbound traffic to 24.173.XXX.XXX(static) port 21 or 80 is routed by the UBR905 modem/router to 192.168.11.2(lan) using port forwarding and nat.
listed above is what my isp did, below is what i did
1st thing I did was go to my network configuration screen and setup, my static ip 24.173.xxx.xxx, my submask,gateway, and entered in my DNS Server values provided by the isp.
2nd thing I did was use netconfig to change my system from dynamically assigning the ip address and I set it to use the one the isp tech told me that this system would use.
I type in my lan IP address and I get the apache test page, on any of my system using the same network.
I type in my static IP address and I get the apache test page only on the server itself, on my other systems I keep getting the message that this page cannot be found.
My question is whether I am on the right track, and if so, what do I do next to view this page from a computer outside of my network and which address do I use.
If this is to be accessible from the public internet, you need to register a domain name and the static ip with a registrar, so that it will be added to the public DNS.
Your ISP may do this, or recommend someone.