domain name header config

beau7 years ago

hello,

I have setup traccar on a windows server 2013 r2 build with a bunch of other websites i host..
My question is - i run everything via IIS, is there a way to use IIS to bind to the traccar web wrapper under port 80 with host headers for the domain name?

Or is there a way to do it in the traccar config?

Thanks
beau

Anton Tananaev7 years ago

You can set up proxy in IIS to forward requests to Traccar.

mohanand7 years ago

Hi beau,

Please share your result if you successfully hosted your Traccar on port 80 with IIS,

Dear Anton,
Is there any documentations for setting up a proxy to the requests to Traccar?

regards,

Anton Tananaev7 years ago

There is documentation, but for Apache:

https://www.traccar.org/secure-connection/

There might be some documentation for IIS on GitHub or forum, but I'm not sure. I definitely know that there are some people who are using IIS proxy successfully, so it's possible.

mohanand7 years ago

yes it works but is seems like iis dose not stream the all the connection between the traccar server and the client (the user) very well.
it refresh the data like every 2 minute from the traccar server
is there any solution?

Anton Tananaev7 years ago

Have you configured WebSocket proxy as well?

mohanand7 years ago

No, What is this, and how to configure it ?

Anton Tananaev7 years ago

Well, there is plenty of information online. Do your research. I have already provided an example on how to configure it in Apache.

mohanand7 years ago

Actually, I am still not sure what is my issue, Is it proxy time out? or something else!

Because every thing works fine, but server need about 1 - 2 minutes to show updated data on UI

mohanand7 years ago

server means "iis", traccar works fine locally

mohanand7 years ago

oh I can understand clearly what you are talking about, sorry for misunderstanding.

So, how to configure the web-socket in the iis, I have no experience for this, any help for this or some references for iis websocket ?