-
Environment
Steps to Reproduce
Expected BehaviorExpected the FQDN to show instead of the IP address Observed BehaviorNetbox shows the IP address instead of the FQDN, this can cause issues with TLS certificates if the IP address is not in the Subject Alternative Name in the TLS certificate |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You need to configure your HTTP frontend (e.g. nginx or Apache) to forward the requested hostname to NetBox. NetBox ships with example configuration files for both nginx and Apache. |
Beta Was this translation helpful? Give feedback.
-
Looking into this further, This config file had an IP address followed by the FQDN name, this was working before but perhaps an update to nginx caused this issue? Original (modified example below)
Changed:
I'm now able to able to select the device in the rack and it shows the FQDN. Thanks |
Beta Was this translation helpful? Give feedback.
Looking into this further,
My nginx config file had the following under sites-available/netbox
This config file had an IP address followed by the FQDN name, this was working before but perhaps an update to nginx caused this issue?
Original (modified example below)
server_name 172.16.5.34 networks.example.com
Changed:
server_name networks.example.com
I'm now able to able to select the device in the rack and it shows the FQDN.
Thanks