<?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: Setting Up Name Based Virtual Hosting</title>
	<atom:link href="http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Fri, 11 May 2012 05:04:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Mike</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15366</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 08 May 2012 12:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15366</guid>
		<description>Thanks for this! I know its a few years old but after trying to follow a few other tutorials, this was the clearest and most concise.</description>
		<content:encoded><![CDATA[<p>Thanks for this! I know its a few years old but after trying to follow a few other tutorials, this was the clearest and most concise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun Lloyd</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15355</link>
		<dc:creator>Shaun Lloyd</dc:creator>
		<pubDate>Sat, 21 Apr 2012 22:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15355</guid>
		<description>thanks didn&#039;t even have to finish ready the tut you got me on track. Simple to the point. To easy.</description>
		<content:encoded><![CDATA[<p>thanks didn&#8217;t even have to finish ready the tut you got me on track. Simple to the point. To easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15328</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 26 Mar 2012 22:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15328</guid>
		<description>Thanks for the great write up! Helped me get started easily on my switch from another distro to Ubuntu.

I think it may be worth noting the following two commands which are a bit easier to run than the symlink.

a2ensite example.com - enable example.com site
a2dissite example.com - disable example.com site</description>
		<content:encoded><![CDATA[<p>Thanks for the great write up! Helped me get started easily on my switch from another distro to Ubuntu.</p>
<p>I think it may be worth noting the following two commands which are a bit easier to run than the symlink.</p>
<p>a2ensite example.com &#8211; enable example.com site<br />
a2dissite example.com &#8211; disable example.com site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15321</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Sat, 17 Mar 2012 02:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15321</guid>
		<description>Trying to set up 2 virtual hosts. Through my registrar I have both FQDNs pointing to my static IP address. On my Ubuntu box I&#039;ve set up www.auldsbel.org and www.rebuild-it.com in /etc/apache2/sites-available to look like:


DocumentRoot /var/www/www.auldsbel.org
ServerName www.auldsbel.org
ServerAlias auldsbel.org


and


DocumentRoot /var/www/www.rebuild-it.com
ServerName www.rebuild-it.com
ServerAlias rebuild-it.com


In /etc/hosts I have:
127.0.0.1       localhost
127.0.0.1       auldsbel.org
127.0.0.1       rebuild-it.com

The last line I also tried: 127.0.1.1 rebuild-it.com

What&#039;s happening is that no matter which domain I go to they both seem to pick up the index.html in the /var/www/www.auldsbel.org/ directory. I&#039;m not seeing the index.html I created in the /var/www/www.rebuild-it.com/ directory. I checked permissions and both paths are set to www.data. 

Cheers.</description>
		<content:encoded><![CDATA[<p>Trying to set up 2 virtual hosts. Through my registrar I have both FQDNs pointing to my static IP address. On my Ubuntu box I&#8217;ve set up <a href="http://www.auldsbel.org" rel="nofollow">http://www.auldsbel.org</a> and <a href="http://www.rebuild-it.com" rel="nofollow">http://www.rebuild-it.com</a> in /etc/apache2/sites-available to look like:</p>
<p>DocumentRoot /var/www/www.auldsbel.org<br />
ServerName <a href="http://www.auldsbel.org" rel="nofollow">http://www.auldsbel.org</a><br />
ServerAlias auldsbel.org</p>
<p>and</p>
<p>DocumentRoot /var/www/www.rebuild-it.com<br />
ServerName <a href="http://www.rebuild-it.com" rel="nofollow">http://www.rebuild-it.com</a><br />
ServerAlias rebuild-it.com</p>
<p>In /etc/hosts I have:<br />
127.0.0.1       localhost<br />
127.0.0.1       auldsbel.org<br />
127.0.0.1       rebuild-it.com</p>
<p>The last line I also tried: 127.0.1.1 rebuild-it.com</p>
<p>What&#8217;s happening is that no matter which domain I go to they both seem to pick up the index.html in the /var/www/www.auldsbel.org/ directory. I&#8217;m not seeing the index.html I created in the /var/www/www.rebuild-it.com/ directory. I checked permissions and both paths are set to <a href="http://www.data" rel="nofollow">http://www.data</a>. </p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quit</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15316</link>
		<dc:creator>Quit</dc:creator>
		<pubDate>Mon, 12 Mar 2012 16:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15316</guid>
		<description>A couple of tips... On Ubuntu / Debian the NameVirtualHost *:80 is already defined in ports.conf. When you define the virtual hosts you should make sure that the *:80 matches exactly in the  definitions and that you don&#039;t define NameVirtualHost in a second place.</description>
		<content:encoded><![CDATA[<p>A couple of tips&#8230; On Ubuntu / Debian the NameVirtualHost *:80 is already defined in ports.conf. When you define the virtual hosts you should make sure that the *:80 matches exactly in the  definitions and that you don&#8217;t define NameVirtualHost in a second place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcin</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15268</link>
		<dc:creator>Marcin</dc:creator>
		<pubDate>Mon, 23 Jan 2012 14:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15268</guid>
		<description>This post is old but still very helpful. I&#039;ve followed it to setup vhosts on our server and it worked like a charm thanks!</description>
		<content:encoded><![CDATA[<p>This post is old but still very helpful. I&#8217;ve followed it to setup vhosts on our server and it worked like a charm thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJA</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15030</link>
		<dc:creator>JJA</dc:creator>
		<pubDate>Sat, 03 Dec 2011 18:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-15030</guid>
		<description>So I get to the part where I need to restart apache and it tells me:

apache2: syntax error on line 230 of /etc/apahce2/apahce2.conf: Could not open configuration file /etc/apache2/sites-enabled/test2: No such file or directory Action &#039;configtest&#039; failed.

When I look in the sites-enabled folder it shows test2 as a link though. However, when I use terminal to look the 000-default file is in blue text but my test2 file is in red text with a dark gray background.

Any suggestions? Thanks.</description>
		<content:encoded><![CDATA[<p>So I get to the part where I need to restart apache and it tells me:</p>
<p>apache2: syntax error on line 230 of /etc/apahce2/apahce2.conf: Could not open configuration file /etc/apache2/sites-enabled/test2: No such file or directory Action &#8216;configtest&#8217; failed.</p>
<p>When I look in the sites-enabled folder it shows test2 as a link though. However, when I use terminal to look the 000-default file is in blue text but my test2 file is in red text with a dark gray background.</p>
<p>Any suggestions? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eremiya</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14948</link>
		<dc:creator>eremiya</dc:creator>
		<pubDate>Tue, 11 Oct 2011 03:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14948</guid>
		<description>Great stuff!! Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Great stuff!! Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt W</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14901</link>
		<dc:creator>Matt W</dc:creator>
		<pubDate>Tue, 06 Sep 2011 05:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14901</guid>
		<description>&lt;a href=&quot;#comment-3313&quot; rel=&quot;nofollow&quot;&gt;@Eelco &lt;/a&gt; 
What file do i write this....sorry i&#039;m a bit of a newb but i&#039;ve got pretty far by myself.

heres another question too..is it possible to set all this up on a dynamic ip?</description>
		<content:encoded><![CDATA[<p><a href="#comment-3313" rel="nofollow">@Eelco </a><br />
What file do i write this&#8230;.sorry i&#8217;m a bit of a newb but i&#8217;ve got pretty far by myself.</p>
<p>heres another question too..is it possible to set all this up on a dynamic ip?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NIDHI</title>
		<link>http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14889</link>
		<dc:creator>NIDHI</dc:creator>
		<pubDate>Tue, 23 Aug 2011 07:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/#comment-14889</guid>
		<description>plz plz plz help me out.................. there was some problem like this----&gt;

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.17 (Ubuntu) Server at netorbis.com Port 80


----------&gt;&gt;
---------&gt;&gt; but when i delete the .htaccess file frome public folder then it takes the change url but not include index.php........plz help as soon as</description>
		<content:encoded><![CDATA[<p>plz plz plz help me out&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; there was some problem like this&#8212;-&gt;</p>
<p>Internal Server Error</p>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the server error log.</p>
<p>Apache/2.2.17 (Ubuntu) Server at netorbis.com Port 80</p>
<p>&#8212;&#8212;&#8212;-&gt;&gt;<br />
&#8212;&#8212;&#8212;&gt;&gt; but when i delete the .htaccess file frome public folder then it takes the change url but not include index.php&#8230;&#8230;..plz help as soon as</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/5 queries in 0.003 seconds using disk: basic
Object Caching 315/315 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-05-24 17:41:40 -->
