{"id":395,"date":"2006-10-28T10:19:30","date_gmt":"2006-10-28T02:19:30","guid":{"rendered":""},"modified":"2016-01-25T22:56:59","modified_gmt":"2016-01-25T14:56:59","slug":"my-projects-problems-with-multi-drupal-sites-install","status":"publish","type":"post","link":"https:\/\/thefazz.com\/blog\/395\/","title":{"rendered":"My projects: problems with multi drupal sites install"},"content":{"rendered":"<p>I post this on the drupal website at http:\/\/drupal.org\/node\/91684<\/p>\n<p>I have posted a couple of requests for support on the following threads:<\/p>\n<p>http:\/\/drupal.org\/node\/62255<br \/>\nhttp:\/\/drupal.org\/node\/62255#comment-126256<\/p>\n<p>http:\/\/drupal.org\/node\/64591#comment-122097<\/p>\n<p>&#8230;but can&#8217;t seem to get any answers. perhaps my requests are buried deep in the thread. so i decide to create a new thread to seek help.<\/p>\n<h2>what i am trying to achieve<\/h2>\n<p>i would like to setup more than one drupal site using a single code base. each site would have different settings \/ databases. i do not want to have subdomains (although this could be a later requirement) or parked domains (as suggested by fidelis on http:\/\/drupal.org\/node\/62255#comment-126409). my response: i intend to set up various community interest sites with a single domain as being the traffic aggregator, so the additional domains is not an option.<\/p>\n<h2>the problem<\/h2>\n<p>my main site, http:\/\/www.tivix.net\/ points to &#8220;\/public_html&#8221;, which in my understanding is the drupal root. all my drupal files and subdirectories are installed in &#8220;\/public_html&#8221;, so the sites directories are located: &#8220;\/public_hmtl\/sites&#8221; and the corresponding url for the second site is intended to be http:\/\/www.tivix.net\/newsite<\/p>\n<p>I have setup the configuration on sites\/www.tivix.net.newsite\/settings.php accordingly with the necessary mysql database access variables (different from the mainsite database) and the base url being http:\/\/www.tivix.net\/newsite<\/p>\n<p>when i point the browser url to http:\/\/www.tivix.net\/newsite it does not reach the newsite controls &amp; database, but instead reaches the mainsite controls with a &#8220;page not found&#8221; error.<\/p>\n<p>i considered the standard multisite install with a couple of options:<\/p>\n<dl>\n<dt>option a.<\/dt>\n<dd>maincode installed in \/firstsite\/ subdirectory from the root (url1 = www.tivix.net\/firstsite). i would like to access another site via url2 = www.tivix.net\/newsite. so i created the subdirectory under \/firstsite\/sites\/www.tivix.net.newsite\/ but i cannot seem to access it via the url2 above.<\/dd>\n<dt>option b.<\/dt>\n<dd>maincode installed in \/ root directory (ie public_html) (url1 = www.tivix.net). i would like to access another site via url2 = www.tivix.net\/newsite. so i created the subdirectory under \/sites\/www.tivix.net.newsite\/ . Still, i cannot seem to access it via the url2 above.<\/dd>\n<\/dl>\n<p>using option b above&#8230; i tried symlink as follows:<\/p>\n<pre>ln -s root root\/newsite\r\n<\/pre>\n<p>and&#8230;<\/p>\n<pre>ln -s root\/ root\/newsite\/\r\n<\/pre>\n<p>and&#8230;<\/p>\n<pre>ln -s \/public_html \/public_html\/newsite\r\n<\/pre>\n<p>and&#8230;<\/p>\n<pre>ln -s \/public_html\/ \/public_html\/newsite\/\r\n<\/pre>\n<p><strong>neither works.<\/strong><\/p>\n<p>anything else needs changing? .htaccess perhaps? if so, what do i look for and change?<\/p>\n<h2>what i am using<\/h2>\n<ul>\n<li>cpanel based shared webhost<\/li>\n<li>php 5.1.5<\/li>\n<li>mySQL 4.1.21-standard<\/li>\n<li>phpmyadmin<\/li>\n<li>drupal 4.7<\/li>\n<li>putty SSH<\/li>\n<li>url friendly links<\/li>\n<\/ul>\n<p>no shell access.<\/p>\n<h2>my skill level<\/h2>\n<p>beginner. i know very little of unix \/ linux commands. very little of htaccess. i&#8217;ve read the handbook and the install instructions over and over again and i am very confused. i still do not know how to set it up properly.<\/p>\n<p>I appreciate any help i can get here.<\/p>\n<p>cheers<\/p>\n<p>fazz<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I post this on the drupal website at http:\/\/drupal.org\/node\/91684<\/p>\n<p>I have posted a couple of requests for support on the following threads:<\/p>\n<p>http:\/\/drupal.org\/node\/62255<br \/>\nhttp:\/\/drupal.org\/node\/62255#comment-126256<\/p>\n<p>http:\/\/drupal.org\/node\/64591#comment-122097<\/p>\n<p>&#8230;but can&#8217;t seem to get any answers. perhaps my requests are buried deep in the thread. so i decide to create a new thread to seek help.<\/p>\n<h2>what i am trying to achieve<\/h2>\n<p>i would like to setup more than one drupal site using a single code base. each site would have different settings \/ databases. i do not want to have subdomains (although this could be a later requirement) or parked domains (as suggested by fidelis on http:\/\/drupal.org\/node\/62255#comment-126409). my response: i intend to set up various community interest sites with a single domain as being the traffic aggregator, so the additional domains is not an option.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[382],"tags":[501],"class_list":["post-395","post","type-post","status-publish","format-standard","hentry","category-personal","tag-website"],"_links":{"self":[{"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":2,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":19985,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/posts\/395\/revisions\/19985"}],"wp:attachment":[{"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thefazz.com\/blog\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}