Update trace cable schema URL with new domain name ? #16897
-
Hi, at some point we have changed our domain name to access NetBox, and NetBox works fine using the new domain name. Today with v4.0.7 we started using the trace cable page, and we noticed that the URL in schema is created with the OLD domain name. Where can we configure the new domain name to update the URL in the trace cable page schema ? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Netbox builds absolute URLs for images, and it gets the hostname from the incoming request's Host: or X-Forwarded-Host: header. Maybe you have a proxy in front of Netbox that's still passing the old name. Also check your Apache or Nginx config and compare it against those under
If you're still not sure where it's coming from, then run tcpdump on the Netbox server:
Hit it with any request (e.g. just the home page is fine), and look at all the request headers. See which one still has the old domain name in it. |
Beta Was this translation helpful? Give feedback.
Netbox builds absolute URLs for images, and it gets the hostname from the incoming request's Host: or X-Forwarded-Host: header.
Maybe you have a proxy in front of Netbox that's still passing the old name. Also check your Apache or Nginx config and compare it against those under
/opt/netbox/contrib/
. e.g. if you're using Nginx then check your lineproxy_set_header X-Forwarded-Host
, which should beIf you're still not sure where it's coming from, then run tcpdump on the Netbox server:
Hit it with any request (e.g. just the home page is fine), and look at all the request headers. See which one still has th…