Offline tile server via ip

Hi!
So i run a local tile server for geomap.The host name is the server’s ip.Now i want to display this in world map.I read the documentation.As it says,to specify a different url you can set:
$config[‘leaflet’][‘tile_url’] = ‘localhost.com’;

I tried to replace the “localhost.com” with the tile server’s ip,but of course it didn’t work.
My question is:Can i display it in librenms just with the ip of the local tile server?

IP or name should make no difference. Only depends on having (or not) a DNS configured, and having (or not) a proper web-server configuration (virtual hosts etc etc)

1 Like

The tile server is working fine.When i introduce the ip in the browser my map is showing.I introduced $config[‘leaflet’][‘tile_url’] = ‘my tile server ip’.Also i tried with and without dns.My worldmap in librenms is still blank…

I never did this, but I would suggest putting an URL and not only an IP or a domain …
You can check in your browser the sources of the page and check how the tile files are called.

1 Like

Thank you!It finally works.I just missed the “/osm” at the end of my ip.