Update Configuration File

victorang1a year ago

Hello i want to update my configuration file and i am using windows. I have followed the installation documentation, and i have already can open the localhost:8082. I have hosted domain in traccar for example http://domain:82.

The problem here is that i can't change the config file directly in the website. So i need to use desktop application right? How do i change the localhost pointed into my hosted domain? I have tried to use web.url but still not connected to my hosted domain. Thanks.

What i have tried:
Adding the traccar.xml config file

<entry key='web.url'>http://domain:82</entry>

And I open the web like this localhost:8082 but still not connected to my domain thanks.

Anton Tananaeva year ago

I'm not sure I understand the question. You don't need to configure anything in Traccar if you want to use a domain. If you want to change the port, there's a config parameter for that.

victorang1a year ago

I want to modify my domain server config. But i can't see the "Server" menu in the navigation drawer. When i try with localhost:8082, i can see "Server" menu in the navigation drawer. And i can upload the config file like that

Track-tracea year ago

You set it from the config files in install dir /conf

victorang1a year ago

but the /conf is only for localhost right? How to apply it to my server?

Track-tracea year ago

So what is your domain name then ?

Without a domain name you should Just be able to connect to the server ip/port

But logicly you also need to open firewall ports if you run the server locally and want to be able to acces it from rhe internet.

victorang1a year ago

I can open it in browser but i can't find the "Server" menu where i can upload the config file, does it mean that i am not the admin on that domain or i have to use local to upload my config file?

Track-tracea year ago

It seems there is no logic in what you are saying. Firstly there is no server menu where you can upload the config.

Secondly you say that your traccar server is on your local host (since you write you can connect to it from localhost:8082). This means you have installed it on your own windows desktop computer. Thus you should Just be able to acces the install directory from windows file Explorer and edit the files in the /conf directory.

Thirdly you state that you have a domain. Lets assume its www.victorang.com To point that domain to your local server you should change the dns setting for that domain (where you registered your domain) to point to your Wan/internet server ip.

And logicly you should also open any firewall ports (on your home internet router) to forward to your traccar server port which is normally port 8082

P.s. it seems you do not understand so much about the logic on how to set it up. Or have difficulty to explain yourself. So i suggest to look up some youtube tutorials about traccar server. In fact its not that difficult.

victorang1a year ago

this is what i want "To point that domain to your local server you should change the dns setting for that domain (where you registered your domain) to point to your Wan/internet server ip." I will try it thanks

Track-tracea year ago

Ok, and actually this setting in /conf/traccar.xml

<entry key='web.url'>http://domain:8082</entry>

Is used for instance when you setup mail to be sent on events (for instance a device exiting or entering a geofence). Then in the email that url will be shown so that when you click on it you will be directed to that server url http://domain:8082