You want to set Domain url and port in the tracker instead of traccar server ip / port?
Actually it has nothing to do with apache. Since the domain url will just be translated to the traccar server ip if it is correctly set.
So check if the domain DNS actually connects to the same traccar server ip.
And check that you make the device connect on the same protocol port as IP/port
Check server log.
What device are you using? What protocol?
if using https://
Try http://...
This is if you have redirected your website to port 443 (SSL) on Linux.
When i set ip to device, it works, but when i set domian , it didint works. I am using default apache config and I am using cloudflare. Can you please suggest why this happen?
Url api also working but url wss not working.