<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[שרתים וירטואלים בVPS, שגיאת ServerName]]></title><description><![CDATA[<p dir="auto">המכונה אפאצי על יובונטו 18.04<br />
הפכתי שיתאים לכמה אתרים.</p>
<p dir="auto">בפקודה <code>sudo apache2ctl configtest</code> קיבלתי הודעה</p>
<pre><code>AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
</code></pre>
<p dir="auto">משיטוט ברשת כתוב שאני צריך להכניס ב <code>apache2.conf</code> את השורה <code>ServerName localhost</code>.<br />
הבעיה שזה מעביר את כל השרתים הוירטואליים לתיקיית הבררת מחדל (html) במקום שיפנה לתיקיות האישיות של כל דומיין.</p>
<p dir="auto">איפה אני אמור להגדיר לכל דומיין את אותה הגדרה ושיתאים לה?</p>
<p dir="auto">תודה.</p>
]]></description><link>https://tchumim.com/topic/9738/שרתים-וירטואלים-בvps-שגיאת-servername</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 00:37:14 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/9738.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Sep 2020 20:45:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to שרתים וירטואלים בVPS, שגיאת ServerName on Sat, 05 Sep 2020 21:34:20 GMT]]></title><description><![CDATA[<p dir="auto">כן.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz">@<bdi>yossiz</bdi></a> אמר ב<a href="/post/109799">שרתים וירטואלים בVPS, שגיאת ServerName</a>:</p>
<blockquote>
<p dir="auto">ההודעה שקיבלת הוא רק תלונה שהוא לא מצליח לזהות מה אמור להיות ה-ServerName של הוירטואל הוסט הדיפולטי.</p>
</blockquote>
<p dir="auto">אני מבין. תכלס בדיעבד זה אכן עובד אם אני מסיר את השורה שהכנסתי בapache2.conf.</p>
<p dir="auto">לא נורא. נזרום.</p>
]]></description><link>https://tchumim.com/post/109803</link><guid isPermaLink="true">https://tchumim.com/post/109803</guid><dc:creator><![CDATA[chagold]]></dc:creator><pubDate>Sat, 05 Sep 2020 21:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to שרתים וירטואלים בVPS, שגיאת ServerName on Sat, 05 Sep 2020 21:15:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chagold">@<bdi>chagold</bdi></a> אמר ב<a href="/post/109797">שרתים וירטואלים בVPS, שגיאת ServerName</a>:</p>
<blockquote>
<p dir="auto">בכל בלוק כתבתי את שם הדומיין שלו</p>
</blockquote>
<p dir="auto">איפה? ככה?</p>
<pre><code>&lt;VirtualHost xx.xx.xx.xx&gt;
    DocumentRoot "/xxx/xxx"
    ServerName www.example.net
&lt;/VirtualHost&gt;
</code></pre>
<p dir="auto">ההודעה שקיבלת הוא רק תלונה שהוא לא מצליח לזהות מה אמור להיות ה-<code>ServerName</code> של הוירטואל הוסט הדיפולטי.</p>
]]></description><link>https://tchumim.com/post/109799</link><guid isPermaLink="true">https://tchumim.com/post/109799</guid><dc:creator><![CDATA[yossiz]]></dc:creator><pubDate>Sat, 05 Sep 2020 21:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to שרתים וירטואלים בVPS, שגיאת ServerName on Sat, 05 Sep 2020 21:07:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yossiz">@<bdi>yossiz</bdi></a> בכל בלוק כתבתי את שם הדומיין שלו.<br />
וזה למרות זאת.</p>
]]></description><link>https://tchumim.com/post/109797</link><guid isPermaLink="true">https://tchumim.com/post/109797</guid><dc:creator><![CDATA[chagold]]></dc:creator><pubDate>Sat, 05 Sep 2020 21:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to שרתים וירטואלים בVPS, שגיאת ServerName on Sat, 05 Sep 2020 21:00:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chagold">@<bdi>chagold</bdi></a> אמר ב<a href="/post/109792">שרתים וירטואלים בVPS, שגיאת ServerName</a>:</p>
<blockquote>
<p dir="auto">הבעיה שזה מעביר את כל השרתים הוירטואליים לתיקיית הבררת מחדל (html) במקום שיפנה לתיקיות האישיות של כל דומיין.</p>
</blockquote>
<p dir="auto">זה לא אמור לקרות</p>
<blockquote>
<p dir="auto">איפה אני אמור להגדיר לכל דומיין את אותה הגדרה ושיתאים לה?</p>
</blockquote>
<p dir="auto">אני לא מבין את השאלה. בכל בלוק של <code>&lt;VirtualHost&gt;</code> אין לך כבר פקודת <code>ServerName</code>? בלי <code>ServerName</code> איך אתה מפריד בין הדומיינים?</p>
]]></description><link>https://tchumim.com/post/109796</link><guid isPermaLink="true">https://tchumim.com/post/109796</guid><dc:creator><![CDATA[yossiz]]></dc:creator><pubDate>Sat, 05 Sep 2020 21:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to שרתים וירטואלים בVPS, שגיאת ServerName on Sat, 05 Sep 2020 20:52:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chagold">@<bdi>chagold</bdi></a> אאל"ט אפשר להתעלם מההודעה</p>
]]></description><link>https://tchumim.com/post/109793</link><guid isPermaLink="true">https://tchumim.com/post/109793</guid><dc:creator><![CDATA[yossiz]]></dc:creator><pubDate>Sat, 05 Sep 2020 20:52:13 GMT</pubDate></item></channel></rss>