Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 25th, 2005, 07:28 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
Exclamation localhost but not http://myip

Hello
i have just installed fedora core on my computer
i am having the problem that i can get localhost, 192.168.0.102, and 127.0.0.1 but not myip
no firewall and i have port 80 opend on my router
my isp does not have port 80 blocked because i have had apache on linux before
i've attached my http.conf file
please help
i need apache for so many things
Attached Files
File Type: txt httpd.txt (31.5 KB, 282 views)

Reply With Quote
  #2  
Old September 26th, 2005, 12:10 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally Posted by dannywilson
Hello
i have just installed fedora core on my computer
i am having the problem that i can get localhost, 192.168.0.102, and 127.0.0.1 but not myip
no firewall and i have port 80 opend on my router
my isp does not have port 80 blocked because i have had apache on linux before
i've attached my http.conf file
please help
i need apache for so many things


question, did you manually set the ipaddress, or did you have the dhcp server do it for you?
__________________
Apache Expert

Reply With Quote
  #3  
Old September 26th, 2005, 06:04 AM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
Quote:
Originally Posted by asp_man
question, did you manually set the ipaddress, or did you have the dhcp server do it for you?

dhcp server did it for me
i dont know if this has anything to do with anything but both computers on the router have the same ip adress

Reply With Quote
  #4  
Old September 26th, 2005, 10:51 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally Posted by dannywilson
dhcp server did it for me
i dont know if this has anything to do with anything but both computers on the router have the same ip adress


no two computers need the same ip, so if that's the case; i suggest you change one of their ip's.

Reply With Quote
  #5  
Old September 26th, 2005, 12:37 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Both computers may have the same external IP address, but they should have different internal LAN IP addresses.

Have you set your router to forward all requests to port 80 to the necessary computer?

Reply With Quote
  #6  
Old September 26th, 2005, 02:03 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
what should i change the ip to and how do i forward them to just one
do you mean like to 192.168.0.102?

Reply With Quote
  #7  
Old September 26th, 2005, 02:04 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
btw im using linux i know how to do it in windows

Reply With Quote
  #8  
Old September 26th, 2005, 02:13 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
The thing I'm referring to is usually configured on the router, often through a web interface. Linux or Windows shouldn't matter.

You will need to tell the router that whenever a request for port 80 comes in, send that request over to 192.168.0.102 (or whichever PC the linux webserver is running). This is called port forwarding.

Are you able to access the webserver from a different computer on the network, using the linux machine's network IP address (192.168.0.x)?

Reply With Quote
  #9  
Old September 26th, 2005, 02:30 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
correction i CANT get it though localhost or but i can though 192.168.0.102 i look at my router configuration it does not have port forwarding to specific ip
i have been messing around with linuxs dns server

Reply With Quote
  #10  
Old September 26th, 2005, 02:36 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
i found this in network connections
Hostname: localhost.localdomain
primary dns: 192.168.0.1.
secondary:
tertiary:
dns search path:localdomain
do i need to edit this

Reply With Quote
  #11  
Old September 26th, 2005, 09:56 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally Posted by dannywilson
i found this in network connections
Hostname: localhost.localdomain
primary dns: 192.168.0.1.
secondary:
tertiary:
dns search path:localdomain
do i need to edit this


yes you do my friend, sorry i wasn't on my fedora server at the time i first made my response to you.

yes you need edit that now do you have any idea as to what your dns settings are? also there is another one about the ipaddress you need to add for that computer it'self. did you do that yet?

Reply With Quote
  #12  
Old September 27th, 2005, 02:56 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
well this is from my router configuraitoion (d-link DI-604)
Device Information
Firmware Version: 3.51 , 22 Nov 2004
LAN
MAC Address
00-13-46-16-81-3A
IP Address
192.168.0.1
Subnet Mask
255.255.255.0
DHCP Server
Enabled
WAN
MAC Address
00-13-46-16-81-3B
Connection
DHCP Client Connected
IP Address
xxx.xxx.xxx.xxx
Subnet Mask
xxx.xxx.xxx.xxx
Default Gateway
xxx.xxx.xxx.xxx
DNS
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

Mod edit: I've removed the sensitive data from this post. Wasn't
really necessary, and shouldn't really be posted like that... Jon.

Reply With Quote
  #13  
Old September 27th, 2005, 07:36 PM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
if any what should i change somthin to and how

Reply With Quote
  #14  
Old September 28th, 2005, 01:15 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
do you not have a gateway server?

Reply With Quote
  #15  
Old September 28th, 2005, 09:00 AM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
huh???

Reply With Quote
  #16  
Old September 28th, 2005, 10:39 AM
Sha Sha is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 Sha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 50 sec
Reputation Power: 0
What you see when you type
netstat -na
?
Thanks.

Reply With Quote
  #17  
Old September 28th, 2005, 11:37 AM
dannywilson dannywilson is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 19 dannywilson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 22 sec
Reputation Power: 0
i see
(too long for post)
Attached Files
File Type: txt netstat.txt (25.7 KB, 363 views)

Reply With Quote
  #18  
Old September 28th, 2005, 11:44 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890