Updated Apache tips (markdown)

ghost-from-the-past 2021-04-14 17:16:30 +02:00
parent 34ba4477b0
commit 4b18324da3

@ -19,3 +19,23 @@
<p>&gt;systemctl start apache2.service</p>
<p>&gt;systemctl stop apache2.service</p>
</blockquote>
<p>
<br/>
</p>
<p>If you have a name inside /etc/hostname you can also use that name instead of localhost.</p>
<h4>some errors I encountered</h4>
<p>when checking the stauts I get</p>
<blockquote>
AH00558: apache2: Could not reliably determine the server's fully qualified domain name
</blockquote>
<p>If you get this kind of error go to /etc/apache2/apache2.conf and insert the following line to the file</p>
<blockquote>
ServerName localhost
</blockquote>
<p>after the changes you need to reload apache</p>
<blockquote>
&gt;systemctl reload apache2
</blockquote>
<p>the previous error should disappear</p>