I have to do something to the urls to post this. I replaced h t t p : / / with X
Hi,
I am an absolute newbie. My 1st goal is that my win2K box can access the public pages on my linux box via a browser like this :
X<ip address>
which appears to be 192.168.1.4 according to ifconfig.
I installed apache server on my linux box running fedora core 3.
But from IE browser on windows box,
X192.168.1.4
returns page not found.
Since I am a beginner I am probably missing some very basic thing. Don't hesitate to mention a very basic thing.
ifconfig on the linux box yields :
[india@Freya ~]$ ifconfig
eth0 Lien encap:Ethernet HWaddr 00:11
8:54
8:58
inet adr:192.168.1.4 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::211:d8ff:fe54:d858/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22936 errors:0 dropped:0 overruns:0 frame:0
TX packets:23499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:14593663 (13.9 MiB) TX bytes:4406642 (4.2 MiB)
Interruption:5 M�moire:ec000000-0
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:H�te
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7258 errors:0 dropped:0 overruns:0 frame:0
TX packets:7258 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:7215483 (6.8 MiB) TX bytes:7215483 (6.8 MiB)
From the Win2K machine, ping 192.168.1.4 looks good.
In my Mozilla browser on the linux box, Freya, Xlocalhost AND X192.168.1.4 show my index page just fine.
But from IE browser on networked windows box, X192.1.168.4 returns page not found.
Here is a piece of httpd.conf
Code:
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
# Changed from dynamically allocated ip address (which hasn't changed yet, but...)
# to localhost 10/09/2005 -India
#try address seen from outside
#ServerName 83.158.15.158:80
# Changed to internal ip address (was localhost:80, which works) 05 oct 2005 -india
# in an attempts that the windows box could see the apache server via ip address:80 No dice.
# ServerName localhost:80
ServerName 192.168.1.4:80
I have a comtrend modem CT-633, furnished by my internet provider, Alice in France. I believe it assigns the internal ip addresses. Do I have to do something with NAT ? I don't know what that is. I do not want the outside world to get to my apache server, just my windows box. I do not have a firewall (that I know about).
Where do I start ?
Thanks a zillion,
India