Linux - Newbie This 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! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-04-2004, 03:02 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Rep:
|
rehat linux enterprise 2.1
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 HELP!!!!!
|
|
|
|
10-04-2004, 03:17 PM
|
#2
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
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!
|
|
|
|
10-04-2004, 03:20 PM
|
#3
|
|
Member
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198
Rep:
|
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
|
|
|
|
10-05-2004, 03:23 AM
|
#4
|
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Original Poster
Rep:
|
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.
The outcome:
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.
thanks ahead of time
|
|
|
|
10-05-2004, 06:51 AM
|
#5
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,021
|
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.
|
|
|
|
10-05-2004, 02:43 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Original Poster
Rep:
|
did i enter the ip values correctly
How do i test it before going to my dns server to apply my domain name the the static ip. Please put me on the right track
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|