Page 1 of 1

Setting up a web site

Posted: Thu Mar 23, 2006 6:01 pm
by BKahler
I'm not sure if this is the proper forum to ask this question but here goes anyway :lol:

What I'm trying to accomplish is a setup where I have ZM running on an apache web server where that web server can be viewed via the internet.

We are connected to the internet via DSL. I pretty much know what I have to do to make the dynamic IP setup work with a domain name so thats not part of what I'm looking for here. We have an SMC router connected to the DSL modem and my home lan setup is working fine. There are two XP machines running and my linux ZM box.

What I need to know is what do I have to do with the apache server, linux, ZM, etc to make the video feeds available through the internet?

My wife wants the ability from where she works to log onto the camera that is pointed towards our barn and horses so she can see if everything is ok.

I'm a complete neophite when it comes to this sort of thing and any help would be greatly appreciated!

Thanks,

Brad

Posted: Thu Mar 23, 2006 6:09 pm
by jameswilson
all you need to do is portforward on your router port 80 to the ip address of your zm box. The use your dyndns etc in the remote webpage and login, you may want to use https (443) for login and i believe that zm now uses 443 for images but to start with while you learn just use http and port 80

Posted: Sun Mar 26, 2006 5:49 am
by BKahler
jameswilson wrote:all you need to do is portforward on your router port 80 to the ip address of your zm box. The use your dyndns etc in the remote webpage and login, you may want to use https (443) for login and i believe that zm now uses 443 for images but to start with while you learn just use http and port 80
James, thanks for the info. Got it working to where I can see the camera from the internet :lol:

How do I set it up so logins are required?

Brad

Posted: Sun Mar 26, 2006 7:54 am
by jameswilson
turn on authentication in zm options

Posted: Sun Mar 26, 2006 8:49 am
by lazyleopard
You might also want to use a virtual host in Apache, so that http requests to your dyndns.domain aren't the same as http requests to whatever ip address you have at present. That way you can divert quite a lot of un-wanted stuff into a no-permission zone, as many of the automated malicious web attacks tend to come through to the ip address.

Posted: Sun Mar 26, 2006 1:54 pm
by BKahler
jameswilson wrote:turn on authentication in zm options
Ok, NOW I have a problem.

I turned on authentication as you suggested and now I can't log into ZM :shock:

I tried my username and password for linux and tried the root login with password and neither of them work. So where did I go wrong :?:

I'd really hate to reinstall everything again because I didn't set the password up somewhere along the line.

Thanks,

Brad

Posted: Sun Mar 26, 2006 4:24 pm
by ko2610
There is a default admin account for zm with password admin.

Posted: Sun Mar 26, 2006 5:30 pm
by BKahler
ko2610 wrote:There is a default admin account for zm with password admin.
Thanks! Got it working now. Even managed to add a few users to it.

Thanks,

Brad