Setting up a web site

Support and queries relating to all previous versions of ZoneMinder
Locked
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Setting up a web site

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

turn on authentication in zm options
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post 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.
Rick Hewett
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Post 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
ko2610
Posts: 2
Joined: Sun Mar 26, 2006 4:19 pm
Location: Tuusula, Finland

Post by ko2610 »

There is a default admin account for zm with password admin.
BKahler
Posts: 48
Joined: Fri Jun 17, 2005 11:23 am
Location: Arkansas, USA

Post 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
Locked