[Xitami] webcam
Craig Morrison
xitami@lists.xitami.org
Thu, 17 Jan 2002 19:06:39 -0500
Comments below...
miplanet wrote:
>
> I think we are a little off track here. The problem is that
> webcam.ackerman-family.com points to port 80 via the DNS. The A record for
> ackerman-family.com points to internal IP 192.168.1.3, the CNAME point
> www.ackerman-famly.com to ackerman-family.com. So any subdomain that is not
> defined in the DNS will go to 192.168.1.3 port 80 (80 is opened on the
> router and is what Xitami is set for). So port 8080 will not work. I have
> even tried opening port 8080 on the router but you can't specify a port in
> dns records (that I know of). I think I can have the DNS server point
> webcam.ackerman-family.com to a different IP with an A record to that
> effect.
Your confusion is understood, I was there once myself. DNS has nothing to do
with ports, it only serves to translate a name to an IP address. Your router
takes care of port forwarding and translating between external and internal IP
addresses.
With that in mind, open up port 8080 on your router and have it forwarded to
192.168.1.3. Make sure that webcam.ackerman-family.com points to your
_external_ IP (which it does, nslookup reports that).
Then use one of the redirection techniques that have been suggested on the
list. The following type of redirection will be supported by most modern
browsers (and doesn't require JavaScript):
<META HTTP-EQUIV=Refresh CONTENT="0;
URL=http://webcam.ackerman-family.com:8080/">
Just make sure you place it in the <head> section of your HTML document.
To get to the document, all depends on whether you have virtual domains setup
or not.
If you don't, you just need to create an HTML document with the above in it
and place it in your webpages folder. Which means you'll need a link of some
kind on another page to get to it.
Personally what I would do is put the above in a basic HTML document and save
it as index.html in a folder off the webpages folder, say 'webcam'. So you
would end up with:
\xitami\webpages\webcam
Which could be used as the [Server]webpages entry in the cfg file for a
virtual domain.
Does that help any?
--
Craig Morrison
http://www.mtsprofessional.com/
A Win32 Email server that works for you.