Page 1 of 1
Webserver
Posted: Sunday 17 June 2018 11:00
by Knibor
Hello,
Is there a possibility to run Domoticz from my own server?
I understand that Domiticz has is own server, so is this possible to run it it my own server.
Is there a Wiki how to do this?
Thanks
Robin
Re: Webserver
Posted: Sunday 17 June 2018 15:31
by Egregius
Why would you want that?
Re: Webserver
Posted: Sunday 17 June 2018 16:17
by Knibor
Hello,
I want to do this because I don't want 2 servers on my PC.
On this PC I run a hosting website program and has its own server.
Re: Webserver
Posted: Sunday 17 June 2018 16:27
by gordonb3
Not really. While it should be possible to serve static files from another server it is rather tricky to identify what files actually are. You will for one have a hard time finding the file json.htm in the www folder, because it in fact does not exist. It also doesn't make a lot of sense to serve the static files from another server as Domoticz wants you to load this in your browser's appcache, so they will only be requested once with every new version you install.
You can use another webserver as a proxy front end though, which will allow named vhosts, x509 security and many other things that go beyond the scope of the internal webserver.
Re: Webserver
Posted: Sunday 17 June 2018 22:34
by Egregius
What's the problem of running 2 servers?
What you also could consider : run domoticz only in home network and use your web server to host a self created interface for it. That way you only need to expose 1 server externally.