<?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: Codeigniter: Setting up multiple sites on one install</title>
	<atom:link href="http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 06:32:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: junkiest</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-52070</link>
		<dc:creator>junkiest</dc:creator>
		<pubDate>Wed, 16 Nov 2011 11:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-52070</guid>
		<description>Nice tutorial.... thanks !!!</description>
		<content:encoded><![CDATA[<p>Nice tutorial&#8230;. thanks !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CodeIgniter: Extending the native ‘Model’ and make it your own. &#124; CodeIgniter Tutorials</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-39275</link>
		<dc:creator>CodeIgniter: Extending the native ‘Model’ and make it your own. &#124; CodeIgniter Tutorials</dc:creator>
		<pubDate>Tue, 17 May 2011 12:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-39275</guid>
		<description>[...] Series  andrewroland zend lucene librarycodeigniter 2.0 workshoplearncodeigniter basics  Sponsors      Top Rated TutorialsUsing Elliot Haughin&#039;s Twitter API with Codeigniter Part 2  (2 votes)CodeIgniter Active Record class and INSERT IGNORE (2 votes)Codeigniter Project Development from scratch to app Part 6  (2 votes)Tags2.0 active record ajax amplio.ch andrewroland.com api askaboutphp beginner cart class codesamplez controller country darrenonthe.net db dragffy.com drop down error flashdata form from scratch helper html install jquery login lucene multiple MVC net.tutsplus profiler reactor registration search session simplycodeigniter string twitter upload URL validation view views workshop zend Sponsors              LinksCodeIgniter: Extending the native ‘Model’ and make it your own. [...]</description>
		<content:encoded><![CDATA[<p>[...] Series  andrewroland zend lucene librarycodeigniter 2.0 workshoplearncodeigniter basics  Sponsors      Top Rated TutorialsUsing Elliot Haughin&#39;s Twitter API with Codeigniter Part 2  (2 votes)CodeIgniter Active Record class and INSERT IGNORE (2 votes)Codeigniter Project Development from scratch to app Part 6  (2 votes)Tags2.0 active record ajax amplio.ch andrewroland.com api askaboutphp beginner cart class codesamplez controller country darrenonthe.net db dragffy.com drop down error flashdata form from scratch helper html install jquery login lucene multiple MVC net.tutsplus profiler reactor registration search session simplycodeigniter string twitter upload URL validation view views workshop zend Sponsors              LinksCodeIgniter: Extending the native ‘Model’ and make it your own. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abolade Baba</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-35508</link>
		<dc:creator>Abolade Baba</dc:creator>
		<pubDate>Sat, 19 Mar 2011 16:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-35508</guid>
		<description>Hi there,

Great work I presumed but it isn&#039;t working for me yet! 

I am trying to configure CI for a site for now then I can add other sites later if it works for one. I followed your instructions here carefully and they were simple enough for me until I got to where I need to edit the my system&#039;s host file to recognise dev.ci . 

I tried editing the &quot;host&quot; file, it seems to accept two parameters - IP address and the ServerName. I cld understand dev.ci:80 as my ServerName but I didn&#039;t is what IP address will I have to put in the host file before writing the server name?

On saving and restarting the apache server, when I type local host into my address bar, I takes me straight up to the codeigniter welcome page. I couldn&#039;t debug this on my own. Could you please help? Thanks</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Great work I presumed but it isn&#8217;t working for me yet! </p>
<p>I am trying to configure CI for a site for now then I can add other sites later if it works for one. I followed your instructions here carefully and they were simple enough for me until I got to where I need to edit the my system&#8217;s host file to recognise dev.ci . </p>
<p>I tried editing the &#8220;host&#8221; file, it seems to accept two parameters &#8211; IP address and the ServerName. I cld understand dev.ci:80 as my ServerName but I didn&#8217;t is what IP address will I have to put in the host file before writing the server name?</p>
<p>On saving and restarting the apache server, when I type local host into my address bar, I takes me straight up to the codeigniter welcome page. I couldn&#8217;t debug this on my own. Could you please help? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-28746</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 20 Dec 2010 20:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-28746</guid>
		<description>Great tutorial. Works really well.</description>
		<content:encoded><![CDATA[<p>Great tutorial. Works really well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikki</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-26333</link>
		<dc:creator>Vikki</dc:creator>
		<pubDate>Sun, 24 Oct 2010 20:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-26333</guid>
		<description>I do have the virtualhost, directory tags in the virtualhosts setup. Its just that the tag signs doesn&#039;t show in the post here.</description>
		<content:encoded><![CDATA[<p>I do have the virtualhost, directory tags in the virtualhosts setup. Its just that the tag signs doesn&#8217;t show in the post here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikki</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-26332</link>
		<dc:creator>Vikki</dc:creator>
		<pubDate>Sun, 24 Oct 2010 19:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-26332</guid>
		<description>Hi,

I have setup my CI folders in my local machine the same way, but only the base url works(like http://example1.localhost for the default controller welcome.php gets called). But when I access urls with any controller segment,it doesn&#039;t work, throws a 404 error. Even http://example1.localhost/welcome doesn&#039;t work. I have entered the host names in the hosts file too.
(127.0.0.1 mybits.localhost
127.0.0.1 linestolinger.localhost)

My setup is as follows;

F:\dev\CodeIgniter_1.7.2
  \.metadata
  \app1
  \app2
  \htdocs_app1
  \htdocs_app2
  \system
  \system_ci_1.7.2
  \user_guide
  index.php
  license.txt

---

Have specified the system and application dir paths in the index.php files in htdocs too; 
For the index.php in \htdocs_app1 ;
	$system_folder = &quot;../system_ci_1.7.2&quot;;
	$application_folder = &quot;../app1&quot;;

For the index.php in \htdocs_app2 ;
	$system_folder = &quot;../system_ci_1.7.2&quot;;
	$application_folder = &quot;../app2&quot;;

---

The virtual hosts setup is as follows;


ServerAdmin webmaster@localhost
DocumentRoot &quot;F:/dev/CodeIgniter_1.7.2/htdocs_app1&quot;
ServerName mybits.localhost
DirectoryIndex index.php index.html index.htm index.shtml

    Options Indexes
    AllowOverride All
    Order allow,deny
    Allow from all





ServerAdmin webmaster@localhost
DocumentRoot &quot;F:/dev/CodeIgniter_1.7.2/htdocs_app2&quot;
ServerName linestolinger.localhost
DirectoryIndex index.php index.html index.htm index.shtml

    Options Indexes
    AllowOverride All
    Order allow,deny
    Allow from all



---

Any idea what could be wrong?.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have setup my CI folders in my local machine the same way, but only the base url works(like <a href="http://example1.localhost" rel="nofollow">http://example1.localhost</a> for the default controller welcome.php gets called). But when I access urls with any controller segment,it doesn&#8217;t work, throws a 404 error. Even <a href="http://example1.localhost/welcome" rel="nofollow">http://example1.localhost/welcome</a> doesn&#8217;t work. I have entered the host names in the hosts file too.<br />
(127.0.0.1 mybits.localhost<br />
127.0.0.1 linestolinger.localhost)</p>
<p>My setup is as follows;</p>
<p>F:\dev\CodeIgniter_1.7.2<br />
  \.metadata<br />
  \app1<br />
  \app2<br />
  \htdocs_app1<br />
  \htdocs_app2<br />
  \system<br />
  \system_ci_1.7.2<br />
  \user_guide<br />
  index.php<br />
  license.txt</p>
<p>&#8212;</p>
<p>Have specified the system and application dir paths in the index.php files in htdocs too;<br />
For the index.php in \htdocs_app1 ;<br />
	$system_folder = &#8220;../system_ci_1.7.2&#8243;;<br />
	$application_folder = &#8220;../app1&#8243;;</p>
<p>For the index.php in \htdocs_app2 ;<br />
	$system_folder = &#8220;../system_ci_1.7.2&#8243;;<br />
	$application_folder = &#8220;../app2&#8243;;</p>
<p>&#8212;</p>
<p>The virtual hosts setup is as follows;</p>
<p>ServerAdmin webmaster@localhost<br />
DocumentRoot &#8220;F:/dev/CodeIgniter_1.7.2/htdocs_app1&#8243;<br />
ServerName mybits.localhost<br />
DirectoryIndex index.php index.html index.htm index.shtml</p>
<p>    Options Indexes<br />
    AllowOverride All<br />
    Order allow,deny<br />
    Allow from all</p>
<p>ServerAdmin webmaster@localhost<br />
DocumentRoot &#8220;F:/dev/CodeIgniter_1.7.2/htdocs_app2&#8243;<br />
ServerName linestolinger.localhost<br />
DirectoryIndex index.php index.html index.htm index.shtml</p>
<p>    Options Indexes<br />
    AllowOverride All<br />
    Order allow,deny<br />
    Allow from all</p>
<p>&#8212;</p>
<p>Any idea what could be wrong?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-26244</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 22 Oct 2010 15:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-26244</guid>
		<description>Hi there,

I recently wrote a blog post with a full tutorial on how to set this up properly in a windows environment. Help it helps!

http://www.kintek.com.au/web-design-blog/configuring-multiple-domains-within-wamp-for-local-development/

- Steve</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I recently wrote a blog post with a full tutorial on how to set this up properly in a windows environment. Help it helps!</p>
<p><a href="http://www.kintek.com.au/web-design-blog/configuring-multiple-domains-within-wamp-for-local-development/" rel="nofollow">http://www.kintek.com.au/web-design-blog/configuring-multiple-domains-within-wamp-for-local-development/</a></p>
<p>- Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikki</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-25321</link>
		<dc:creator>Vikki</dc:creator>
		<pubDate>Thu, 30 Sep 2010 11:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-25321</guid>
		<description>Just what I needed. Thanks a bunch!</description>
		<content:encoded><![CDATA[<p>Just what I needed. Thanks a bunch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KPR</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-23942</link>
		<dc:creator>KPR</dc:creator>
		<pubDate>Mon, 16 Aug 2010 21:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-23942</guid>
		<description>Nick, who would do that?! As this tutorial suggests, you save different version in different folders. Then you would have to upgrade each site individually.

If it breaks a development site, you don&#039;t update to the new version, unless there are features that are wanted/needed or there is a security issue.


Ideally, if you&#039;re running 100+ sites (10+ or even 5+), you&#039;re not developing 100 different individual sites, but are extending the framework&#039;s classes (MY_) as needed and developing reusable modules for the same framework (and version of that framework) that can work across all sites, and can be instantiated on an as-needed basis. Also, if you&#039;re running 100+ sites, this is a best practices method for maintaining your server.

You might also consider setting up a subdomain if you are using the same CSS and Javascript frameworks on multiple sights. Something like resources.myserver.com allows you to separate frameworks (Blueprint, jQuery, etc.) and helps your site load faster because browsers limit the calls to a specific server, but can syncronously load from multiple servers (just don&#039;t overdo it). Also, for libraries like Moo Tools or jQuery, you can use Google&#039;s API server, which is fast and has request methods to allows serve up the latest version (2.x) by default or a specific version (2.3.1) of a library.

You can also try doing this for API libraries like Vimeo, Twitter, cloudfusion, etc.


Also, yes, you can do this with Kohana (I do), and Cake; you just need to reference the correct version of the framework you are using for each project.</description>
		<content:encoded><![CDATA[<p>Nick, who would do that?! As this tutorial suggests, you save different version in different folders. Then you would have to upgrade each site individually.</p>
<p>If it breaks a development site, you don&#8217;t update to the new version, unless there are features that are wanted/needed or there is a security issue.</p>
<p>Ideally, if you&#8217;re running 100+ sites (10+ or even 5+), you&#8217;re not developing 100 different individual sites, but are extending the framework&#8217;s classes (MY_) as needed and developing reusable modules for the same framework (and version of that framework) that can work across all sites, and can be instantiated on an as-needed basis. Also, if you&#8217;re running 100+ sites, this is a best practices method for maintaining your server.</p>
<p>You might also consider setting up a subdomain if you are using the same CSS and Javascript frameworks on multiple sights. Something like resources.myserver.com allows you to separate frameworks (Blueprint, jQuery, etc.) and helps your site load faster because browsers limit the calls to a specific server, but can syncronously load from multiple servers (just don&#8217;t overdo it). Also, for libraries like Moo Tools or jQuery, you can use Google&#8217;s API server, which is fast and has request methods to allows serve up the latest version (2.x) by default or a specific version (2.3.1) of a library.</p>
<p>You can also try doing this for API libraries like Vimeo, Twitter, cloudfusion, etc.</p>
<p>Also, yes, you can do this with Kohana (I do), and Cake; you just need to reference the correct version of the framework you are using for each project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://www.askaboutphp.com/88/codeigniter-setting-up-multiple-sites-on-one-install.html/comment-page-1#comment-19438</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Sat, 20 Feb 2010 05:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=88#comment-19438</guid>
		<description>sorry about the format
see if this make it clear

/htdocs/
&#160;&#160;&#160;&#160;/ci_projects/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/ci_1.7.1/ * system folder
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/ci_1.7.2/ * system folder
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/website1/ * website 1
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/app/ * application folder, private
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/pubic/ * public folder, css, js …
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/css/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/js/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/images/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;index.php
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/website2/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/app/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/pubic/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/css/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/js/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;/images/
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;index.php</description>
		<content:encoded><![CDATA[<p>sorry about the format<br />
see if this make it clear</p>
<p>/htdocs/<br />
&nbsp;&nbsp;&nbsp;&nbsp;/ci_projects/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ci_1.7.1/ * system folder<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ci_1.7.2/ * system folder<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/website1/ * website 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/app/ * application folder, private<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/pubic/ * public folder, css, js …<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/css/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/js/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/images/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.php<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/website2/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/app/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/pubic/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/css/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/js/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/images/<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.php</p>
]]></content:encoded>
	</item>
</channel>
</rss>

