<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Apache: [warn] _default_ VirtualHost overlap on port 80, the first has precedence Error and Solution</title> <atom:link href="http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Amit</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-65745</link> <dc:creator>Amit</dc:creator> <pubDate>Sat, 17 Dec 2011 20:10:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-65745</guid> <description>Thanks man u saved me.....this virtual hosting made me almost crazy in last 2-3 month</description> <content:encoded><![CDATA[<p>Thanks man u saved me&#8230;..this virtual hosting made me almost crazy in last 2-3 month</p> ]]></content:encoded> </item> <item><title>By: Brian Lacy</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-62399</link> <dc:creator>Brian Lacy</dc:creator> <pubDate>Tue, 13 Sep 2011 16:15:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-62399</guid> <description>Oops, that last should have been:
&lt;pre&gt;
NameVirtualHost *:80
&lt;VirtualHost *&gt;
# Some Apache Directives
&lt;/VirtualHost &gt;
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Oops, that last should have been:</p><pre>
NameVirtualHost *:80
&lt;VirtualHost *&gt;
    # Some Apache Directives
&lt;/VirtualHost &gt;
</pre>]]></content:encoded> </item> <item><title>By: Brian Lacy</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-62398</link> <dc:creator>Brian Lacy</dc:creator> <pubDate>Tue, 13 Sep 2011 16:14:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-62398</guid> <description>If you find yourself really stuck with this error, make sure that ALL of your VirtualHosts&#039; port designators match the port designated on the NameVirtualHost directive!
For instance:
&lt;pre&gt;
NameVirtualHost *:80
# Some Apache Directives
&lt;/pre&gt;
That will result in the Port Overlap error because your VHost port doesn&#039;t match the NameVirtualHost port.</description> <content:encoded><![CDATA[<p>If you find yourself really stuck with this error, make sure that ALL of your VirtualHosts&#8217; port designators match the port designated on the NameVirtualHost directive!</p><p>For instance:</p><pre>
NameVirtualHost *:80
    # Some Apache Directives
</pre><p>That will result in the Port Overlap error because your VHost port doesn&#8217;t match the NameVirtualHost port.</p> ]]></content:encoded> </item> <item><title>By: Pablo</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-62033</link> <dc:creator>Pablo</dc:creator> <pubDate>Tue, 30 Aug 2011 23:11:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-62033</guid> <description>Thanks, work fine for me.</description> <content:encoded><![CDATA[<p>Thanks, work fine for me.</p> ]]></content:encoded> </item> <item><title>By: TK Kocheran</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-59978</link> <dc:creator>TK Kocheran</dc:creator> <pubDate>Mon, 13 Jun 2011 20:34:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-59978</guid> <description>Thanks, this helps a lot.</description> <content:encoded><![CDATA[<p>Thanks, this helps a lot.</p> ]]></content:encoded> </item> <item><title>By: tukdalang</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-59710</link> <dc:creator>tukdalang</dc:creator> <pubDate>Tue, 31 May 2011 02:52:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-59710</guid> <description>Terima kasih banyak .....  after many days i lookingfor this, i get the answer
simple but very important
NameVirtualHost *:80
Thankyu very much....:)</description> <content:encoded><![CDATA[<p>Terima kasih banyak &#8230;..  after many days i lookingfor this, i get the answer<br
/> simple but very important<br
/> NameVirtualHost *:80</p><p>Thankyu very much&#8230;.:)</p> ]]></content:encoded> </item> <item><title>By: Olfried</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-56051</link> <dc:creator>Olfried</dc:creator> <pubDate>Mon, 28 Feb 2011 20:47:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-56051</guid> <description>Oops, the blog eat my &lt;
Again the eww.test.de content\
&lt;pre&gt;
# -----------------
# eww.test.de
# -------------------------------------------------------
&lt;VirtualHost *:80&gt;
ServerName eww.test.de
ServerAlias eww.test.de
ServerAdmin ernst@localhost
ErrorLog /var/log/httpd/test-error_log
CustomLog /var/log/httpd/test-access_log common
DocumentRoot /home/eww/local
&lt;Directory /home/eww/local&gt;
#	AllowOverride None
#	Order Allow,Deny
#	Allow from all
#	Options +Indexes
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Oops, the blog eat my &lt;<br
/> Again the eww.test.de content\</p><pre>
# -----------------
# eww.test.de
# -------------------------------------------------------
&lt;VirtualHost *:80&gt;
ServerName eww.test.de
ServerAlias eww.test.de
ServerAdmin ernst@localhost
ErrorLog /var/log/httpd/test-error_log
CustomLog /var/log/httpd/test-access_log common
DocumentRoot /home/eww/local
&lt;Directory /home/eww/local&gt;
#	AllowOverride None
#	Order Allow,Deny
#	Allow from all
#	Options +Indexes
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>]]></content:encoded> </item> <item><title>By: Olfried</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-56050</link> <dc:creator>Olfried</dc:creator> <pubDate>Mon, 28 Feb 2011 20:44:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-56050</guid> <description>If you use Ubutu 10.10 as server and have configured as they suppose
For example:
under apache2/sites-enabled/eww.test.de
with the content:
# -----------------
# eww.test.de
# -------------------------------------------------------
ServerName eww.test.de
ServerAlias eww.test.de
ServerAdmin admin@localhost
ErrorLog /var/log/httpd/test-error_log
CustomLog /var/log/httpd/test-access_log common
DocumentRoot /home/eww/local
...
and edit your /etc/apache2/apache2.conf to add &quot;NameVirtualHost *:80&quot;
beware that you don&#039;t add this at the end of the file instead  put it over
&gt;Include httpd.conf&lt; or add this directive in the httpd.conf.
It took some hours of &quot;service apache2 restart&quot; until I found it.</description> <content:encoded><![CDATA[<p>If you use Ubutu 10.10 as server and have configured as they suppose<br
/> For example:<br
/> under apache2/sites-enabled/eww.test.de<br
/> with the content:<br
/> # &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br
/> # eww.test.de<br
/> # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p><p>ServerName eww.test.de<br
/> ServerAlias eww.test.de<br
/> ServerAdmin admin@localhost<br
/> ErrorLog /var/log/httpd/test-error_log<br
/> CustomLog /var/log/httpd/test-access_log common<br
/> DocumentRoot /home/eww/local</p><p>&#8230;</p><p>and edit your /etc/apache2/apache2.conf to add &#8220;NameVirtualHost *:80&#8243;<br
/> beware that you don&#8217;t add this at the end of the file instead  put it over<br
/> &gt;Include httpd.conf&lt; or add this directive in the httpd.conf.<br
/> It took some hours of &quot;service apache2 restart&quot; until I found it.</p> ]]></content:encoded> </item> <item><title>By: Marc</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-55365</link> <dc:creator>Marc</dc:creator> <pubDate>Sat, 05 Feb 2011 08:26:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-55365</guid> <description>Hi,
Thanks for all. It&#039;s up
Regards
Marc</description> <content:encoded><![CDATA[<p>Hi,<br
/> Thanks for all. It&#8217;s up<br
/> Regards<br
/> Marc</p> ]]></content:encoded> </item> <item><title>By: Sid</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-49647</link> <dc:creator>Sid</dc:creator> <pubDate>Mon, 20 Sep 2010 18:22:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-49647</guid> <description>Thank you so much For that post!</description> <content:encoded><![CDATA[<p>Thank you so much For that post!</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-48383</link> <dc:creator>Oscar</dc:creator> <pubDate>Sat, 17 Jul 2010 02:35:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-48383</guid> <description>I want to say &quot;Thanks a LOT&quot;.
I have 15 days looking for a help, finally i found it.</description> <content:encoded><![CDATA[<p>I want to say &#8220;Thanks a LOT&#8221;.<br
/> I have 15 days looking for a help, finally i found it.</p> ]]></content:encoded> </item> <item><title>By: Alisson</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-48131</link> <dc:creator>Alisson</dc:creator> <pubDate>Tue, 29 Jun 2010 18:40:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-48131</guid> <description>Thanks a LOT!
simple and fantastic
NameVirtualHost *:80
:)</description> <content:encoded><![CDATA[<p>Thanks a LOT!</p><p>simple and fantastic</p><p>NameVirtualHost *:80</p><p>:)</p> ]]></content:encoded> </item> <item><title>By: Luke</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-46602</link> <dc:creator>Luke</dc:creator> <pubDate>Sat, 27 Mar 2010 17:16:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-46602</guid> <description>Finally it fixed.
I&#039;ve had this problem on an Ubuntu Server for the whole time I&#039;ve been running it (about 18 months) and have just avoided using Apache on it since I couldn&#039;t find a fix and it seemed to work fine everywhere else. Now its fixed and I can use it properly.
My eternal gratitude!!!!</description> <content:encoded><![CDATA[<p>Finally it fixed.</p><p>I&#8217;ve had this problem on an Ubuntu Server for the whole time I&#8217;ve been running it (about 18 months) and have just avoided using Apache on it since I couldn&#8217;t find a fix and it seemed to work fine everywhere else. Now its fixed and I can use it properly.</p><p>My eternal gratitude!!!!</p> ]]></content:encoded> </item> <item><title>By: egoleo</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-46396</link> <dc:creator>egoleo</dc:creator> <pubDate>Sat, 13 Mar 2010 07:29:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-46396</guid> <description>thank dude. it works like magic.</description> <content:encoded><![CDATA[<p>thank dude. it works like magic.</p> ]]></content:encoded> </item> <item><title>By: Ben</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-45802</link> <dc:creator>Ben</dc:creator> <pubDate>Tue, 02 Feb 2010 21:11:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-45802</guid> <description>Hi all i don t understund why it s always the first entry that is taken into account ??
I don t understund at all
Please help me</description> <content:encoded><![CDATA[<p>Hi all i don t understund why it s always the first entry that is taken into account ??<br
/> I don t understund at all<br
/> Please help me</p> ]]></content:encoded> </item> <item><title>By: Omar Yepez</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-45582</link> <dc:creator>Omar Yepez</dc:creator> <pubDate>Fri, 15 Jan 2010 20:35:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-45582</guid> <description>Thanks very muchhhhhhhhhhhhhhhhhh</description> <content:encoded><![CDATA[<p>Thanks very muchhhhhhhhhhhhhhhhhh</p> ]]></content:encoded> </item> <item><title>By: iNovek</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-44027</link> <dc:creator>iNovek</dc:creator> <pubDate>Wed, 07 Oct 2009 21:06:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-44027</guid> <description>I&#039;ve read many forum-posts with really crazy answers to this error message. And this litte * fix it. Thanks.</description> <content:encoded><![CDATA[<p>I&#8217;ve read many forum-posts with really crazy answers to this error message. And this litte * fix it. Thanks.</p> ]]></content:encoded> </item> <item><title>By: 4F2E4A2E</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-43566</link> <dc:creator>4F2E4A2E</dc:creator> <pubDate>Fri, 04 Sep 2009 07:52:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-43566</guid> <description>thx alot
every thing working fine now :)</description> <content:encoded><![CDATA[<p>thx alot<br
/> every thing working fine now :)</p> ]]></content:encoded> </item> <item><title>By: xmen</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-41597</link> <dc:creator>xmen</dc:creator> <pubDate>Wed, 13 May 2009 18:24:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-41597</guid> <description># My Virtual Hosts Config File for Two Domains
NameVirtualHost *:80
ServerAdmin webmaster@theos.in
DocumentRoot &quot;/usr/local/docs/theos.in&quot;
ServerName www.theos.in
ServerAlias theos.in
ErrorLog &quot;/var/log/theos.in-error_log&quot;
CustomLog &quot;/var/log/theos.in-access_log&quot; common
ServerAdmin webmaster@nixcraft.com
DocumentRoot &quot;/usr/local/docs/nixcraft.com&quot;
ServerName www.nixcraft.com
ServerAlias nixcraft.com
ErrorLog &quot;/var/log/nixcraft.com-error_log&quot;
CustomLog &quot;/var/log/nixcraft.com-access_log&quot; common
When I configure the same file , I have a problem. I used Firefox, everytime I type www.theos.in or www.nixcraft.com, I only see mainpage (theos.in), no nixcraft.com</description> <content:encoded><![CDATA[<p># My Virtual Hosts Config File for Two Domains<br
/> NameVirtualHost *:80</p><p> ServerAdmin <a
href="mailto:webmaster@theos.in">webmaster@theos.in</a><br
/> DocumentRoot &#8220;/usr/local/docs/theos.in&#8221;<br
/> ServerName <a
href="http://www.theos.in" rel="nofollow">http://www.theos.in</a><br
/> ServerAlias theos.in<br
/> ErrorLog &#8220;/var/log/theos.in-error_log&#8221;<br
/> CustomLog &#8220;/var/log/theos.in-access_log&#8221; common</p><p> ServerAdmin <a
href="mailto:webmaster@nixcraft.com">webmaster@nixcraft.com</a><br
/> DocumentRoot &#8220;/usr/local/docs/nixcraft.com&#8221;<br
/> ServerName <a
href="http://www.nixcraft.com" rel="nofollow">http://www.nixcraft.com</a><br
/> ServerAlias nixcraft.com<br
/> ErrorLog &#8220;/var/log/nixcraft.com-error_log&#8221;<br
/> CustomLog &#8220;/var/log/nixcraft.com-access_log&#8221; common</p><p>When I configure the same file , I have a problem. I used Firefox, everytime I type <a
href="http://www.theos.in" rel="nofollow">http://www.theos.in</a> or <a
href="http://www.nixcraft.com" rel="nofollow">http://www.nixcraft.com</a>, I only see mainpage (theos.in), no nixcraft.com</p> ]]></content:encoded> </item> <item><title>By: Seth</title><link>http://www.cyberciti.biz/faq/warn-_default_-virtualhost-overlap-port80-first-hasprecedence/#comment-41446</link> <dc:creator>Seth</dc:creator> <pubDate>Sat, 02 May 2009 14:11:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2331#comment-41446</guid> <description>Yup, needed this reminder again when I migrated all my sites to a new VPS :)</description> <content:encoded><![CDATA[<p>Yup, needed this reminder again when I migrated all my sites to a new VPS :)</p> ]]></content:encoded> </item> </channel> </rss>
