LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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



Reply
 
Search this Thread
Old 10-04-2004, 04:02 PM   #1
dramous
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Rep: Reputation: 0
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!!!!!
 
Old 10-04-2004, 04:17 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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!
 
Old 10-04-2004, 04:20 PM   #3
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
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
 
Old 10-05-2004, 04:23 AM   #4
dramous
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 10-05-2004, 07:51 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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.
 
Old 10-05-2004, 03:43 PM   #6
dramous
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU usage of Processes when authenticating against Ldap on Rehat Enterprise 4 with MP VioletRain Red Hat 4 01-21-2008 05:43 PM
Does Rehat Linux 9.0 support SATA Drives dark_light Linux - Newbie 4 09-10-2005 01:13 AM
How to boot a fedora 3 cd from a rehat linux 8.0 floppy disk llcoolj Linux - Newbie 1 04-22-2005 10:00 AM
Help me: setting up telnet service in rehat linux 7.1 tejpatil Linux - Newbie 0 02-09-2004 08:50 PM
Cannot boot with rehat linux 9 satusred Linux - Newbie 2 11-03-2003 05:21 PM


All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration