ddns my home server then subdomain to ip camera?
Stuck fast here, I have my domain pointing to my router, that in turn sends for example requests to mydomain.co.uk and cam.mydomain.co.uk to my home server running server 2012. I have been trying to divert the subdomain to another internal IP so I can view the camera while away from home but 2 hours of reading and farting about with server 2012's dns server have got me nowhere :(
Any ideas or rather simple guides to point me in the right direction?
Both the domain and the subdomain go to the iis holding page at the moment, all I have managed to do is get the subdomain to a blank page..
Thanks.
Re: ddns my home server then subdomain to ip camera?
Re: ddns my home server then subdomain to ip camera?
Not an expert, just some hopefully helpful musing:
Hmmm, from what you're saying I'm not sure that DNS will be able to resolve the issue. By the time the requests get to the server, mydomain.co.uk and cam.mydomain.co.uk are going to look the same at that level. A webserver could take different action based on the url, but I don't think the camera can be reached from the outside world directly.
Can you get the subdomain to go to a different port on your router, then redirect to different IP addresses that way?
Re: ddns my home server then subdomain to ip camera?
so far I can't route the subdomain with any success and am stuck using a port redirect on my router, I had hopes server 2012 could deal with this instead.
Re: ddns my home server then subdomain to ip camera?
I assume server 2012 is running IIS? Do you know if it has an equivalent of Apache mod_proxy? ( https://httpd.apache.org/docs/curren...mod_proxy.html )
I had to do this years ago, setting up subdomain.domain.com as a virtual host and using mod_proxy to forward requests to another internal webserver (in your instance, it'd be the camera).
(Apparent solution with IIS 7+ - http://blogs.iis.net/wonyoo/applicat...-reverse-proxy )
Re: ddns my home server then subdomain to ip camera?
Quote:
Originally Posted by
Raz316
Thanks, I will have a look tonight m8
Sent from my SM-G920F using Tapatalk
Re: ddns my home server then subdomain to ip camera?
Quote:
Originally Posted by
Raz316
Yup, that's the only way, unless your ISP will assign you a block of IP addresses and you can assign a different IP to the subdomain.
Re: ddns my home server then subdomain to ip camera?
I had a look at that module ,it didn't go very well :(
Re: ddns my home server then subdomain to ip camera?
Oh dear... :S What happened?
Re: ddns my home server then subdomain to ip camera?
Quote:
Originally Posted by
Raz316
Oh dear... :S What happened?
I got totally lost trying to figure it out :(
Sent from my SM-G920F using Tapatalk
Re: ddns my home server then subdomain to ip camera?
You could run a Netscaler VPX VM as a reverse proxy - there are a few guides out there, but http://blog.millard.org/2014/02/http...ng-citrix.html seems about right.