I know there are bits a pieces of the following questions all over the forums but I was not able to find an exact solution. I apologize in advance for any repitition.
I have SBC DSL with the "Home Portal" modem. My home network has two comps: a slow linux box with an Apache webserver running on Slackware and a new windowz box with XP Pro. I have the webserver working, it's dumbbox.dyndns.org and I also have Samba running properly so I can access files on the windowz box from the linux box.
The problem is this: If you go to the website and click "pictures" it gives a bad gateway and you can see why. Rather than accessing "dumbbox.dyndns.org/pictures" it tries to access "dumbbox.gateway.2wire.net/pictures/". Now, "gateway.2wire.net" is what I use in my local network to setup my router/dsl modem. The dumbbox.dyndns.org DNS points to "126.96.36.199", but that's the IP of my router/dsl modem, not the actual webserver. Do you see the problem? For some reason its trying to access the "pictures" folder on my router's IP rather than that of my webserver. However, I would also think this would make it so I couldn't get to the dumbbox.dyndns.org webpage at all, but that does load. Also, I'm not sure if it matters, but the "pictures" directory is actually a remotely mounted Windows directory done through SMB. Any ideas?
Oh, here's the ifconfig -a off the webserver:
root@dumbbox:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:08:A1:5C
inet addr:172.16.1.34 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:705 errors:0 dropped:0 overruns:0 frame:0
TX packets:516 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:65974 (64.4 Kb) TX bytes:57117 (55.7 Kb)
Interrupt:11 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Thanks so much!