[nzlug] no-ip.com , ipcop and apache2
Nevyn
nevynh at gmail.com
Mon Feb 11 17:27:50 NZDT 2008
Hi,
I'm trying to come up with a way to host a couple of websites on my network.
I've set up two domains from no-ip.com both set up to be DNS Host (A) entries.
My router is running in half-bridged mode and so essentially hands off
responsibility to my ipcop box.
I'm running ipcop which has port 80 forwarded to my server machine
where I'm trying to host my pages from. This machine is on the green
interface.
I've tried a really simple setup from apache2.2 for the sites as I
figure the minimal settings will keep things uncomplicated until I can
figure out what's going on.
The problem is that no matter which site I go to (say nevyn1.no-ip.com
and nevyn2.no-ip.com), everything seems to be served up by the
nevyn2.no-ip.com despite me putting both definitions into a single
file and putting nevyn2.no-ip.com second just for testing. I looked at
the logs and the referral site is coming up as "-" so it's getting
lost there somewhere.
Sample of the log file (using combined format as grabbed from here:
http://httpd.apache.org/docs/2.2/logs.html):
192.168.0.1 - - [11/Feb/2008:17:27:22 +1300] "GET / HTTP/1.1" 304 -
"-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12)
Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12"
Can anyone recommend what might be going wrong here? It seems to be
losing the referral string but I'm not sure where and if I'm going to
be able to do anything about it.
Any help is greatly appreciated.
Regards,
Nevyn.
More information about the NZLUG
mailing list