From dc71faec872e330376dff0ff88d9f4b44af00ffd Mon Sep 17 00:00:00 2001 From: LHBL2003 <46369917+LHBL2003@users.noreply.github.com> Date: Fri, 22 Apr 2022 18:55:47 +0200 Subject: [PATCH] Update 5-http-server.md Add: "sudo nano /etc/apache2/sites-available/netbox.conf" and Change description Reason: To point out more strongly the necessary adjustment of the server name. I had overlooked it in the text. Add: Open in the browser https://Servername/ or ... without the port 8000! Add: I assumed that you still have to call it with port 8000. As in the pre-test. But it runs with 443 --- docs/installation/5-http-server.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/installation/5-http-server.md b/docs/installation/5-http-server.md index 907964554..493b4c75e 100644 --- a/docs/installation/5-http-server.md +++ b/docs/installation/5-http-server.md @@ -56,10 +56,12 @@ Begin by installing Apache: sudo apt install -y apache2 ``` -Next, copy the default configuration file to `/etc/apache2/sites-available/`. Be sure to modify the `ServerName` parameter appropriately. +Next, copy the default configuration file to `/etc/apache2/sites-available/`. Be sure to modify the `ServerName` parameter appropriately. +(ParameterName ServerName = Server-Name or IP-Adress) ```no-highlight sudo cp /opt/netbox/contrib/apache.conf /etc/apache2/sites-available/netbox.conf +sudo nano /etc/apache2/sites-available/netbox.conf ``` Finally, ensure that the required Apache modules are enabled, enable the `netbox` site, and reload Apache: @@ -74,6 +76,8 @@ sudo systemctl restart apache2 At this point, you should be able to connect to the HTTPS service at the server name or IP address you provided. +Open in the browser https://Servername/ or https://IP-Adress/ (depending on the netbox.conf entry) without the port 8000! + !!! info Please keep in mind that the configurations provided here are bare minimums required to get NetBox up and running. You may want to make adjustments to better suit your production environment.