cPanel and Drupal Multi Site with Subdomains
By Chris Herberte on February 12th, 2007Scenario:
I have a Drupal Installation which I run many sites from and this would be fine if each site has it's own Domain Name (FQDN). Normally I would just park the domain in my cPanel and create a folder /sites/example.com
The problem with subdomains in cPanel is that when creating a subdomain a new directory is created in my Drupal root for the subdomain and this is where i'm supposed to put the site. This would be fine if i was building a static site but I WANT IT TO BE A DRUPAL MULTI SITE site.
Solution:
This only works with TLD's: If you go to 'park a domain' and enter your new subdomain, providing you've already parked the TLD domain a new domain is parked (your subdomain)
Thus you can now go to the drupal /sites/ and create a new directory called subdomain.example.com and set up the new site as normal.
Update:
Another solution is to create a subdomain in cPanel, remove the directory created by cPanel and symbolic link the directory instead. If you don't have ssh access add
ln -s /path/to/your/html /path/to/your/html/subdomain
to a cron-job or
<?php
symlink( 'target', 'link' );
?>
interesting post thx <a href=" http://www.plime.com/members/bidaban/ ">cheapest levitra</a> vytxx
please look at this <a href=" http://www.plime.com/members/awendela/ ">buy tramadol</a> >:PP <a href=" http://www.plime.com/members/ayasha/ ">cheap phendimetrazine</a> emjmcu
i say one thing <a href=" http://www.plime.com/members/awendea/ ">generic soma</a> 9661 <a href=" http://www.plime.com/members/boinedal/ ">hydrocodone without prescription
</a> %DD <a href=" http://www.plime.com/members/ayasha/ ">buy phendimetrazine online
</a> 720571
see this thanks <a href=" http://www.plime.com/members/behitha/ ">order lipitor
</a> survw <a href=" http://www.plime.com/members/bidaban/ ">purchase levitra
</a> jlsh <a href=" http://www.plime.com/members/awentia/ ">propecia online</a> 988 <a href=" http://www.plime.com/members/ayunli/ ">paxil no prescription</a> sojl
i say one thing <a href=" http://www.plime.com/members/awendea/ ">cheapest soma</a> =DD <a href=" http://www.plime.com/members/behitha/ ">generic lipitor</a> 12796 <a href=" http://www.plime.com/members/bena/ ">buy meridia</a> =-)) <a href=" http://www.plime.com/members/ayasha/ ">online phendimetrazine</a> :O
i say one thing <a href=" http://www.plime.com/members/awendea/ ">cheapest soma</a> =DD <a href=" http://www.plime.com/members/behitha/ ">generic lipitor</a> 12796 <a href=" http://www.plime.com/members/bena/ ">buy meridia</a> =-)) <a href=" http://www.plime.com/members/ayasha/ ">online phendimetrazine</a> :O
good work man <a href=" http://www.plime.com/members/awendela/ ">purchase tramadol</a> 307 <a href=" http://www.plime.com/members/bena/ ">diet meridia</a> zoryqz <a href=" http://www.plime.com/members/awentia/ ">cheap propecia</a> >:-PP <a href=" http://www.plime.com/members/awinita/ ">buy phentermine</a> 6156
hay <a href=" http://www.plime.com/members/boinedal/ ">hydrocodone no prescription
</a> :-( <a href=" http://www.plime.com/members/awendea/ ">soma pills</a> 14066 <a href=" http://www.plime.com/members/bidaban/ ">levitra addiction
</a> =] <a href=" http://www.plime.com/members/ayasha/ ">order phendimetrazine</a> 08931
cool post dude <a href=" http://www.plime.com/members/boinedal/ ">buy hydrocodone online
</a> :(( <a href=" http://www.plime.com/members/bidaban/ ">buy levitra online
</a> 327301 <a href=" http://www.plime.com/members/ayasha/ ">phendimetrazine 270 mg
</a> fqyi <a href=" http://www.plime.com/members/awinita/ ">phentermine no prescription</a> >:]]
it's nice site <a href=" http://www.plime.com/members/awendela/ ">tramadol c o d</a> ewpie <a href=" http://www.plime.com/members/bidaban/ ">cheap levitra
</a> 49458 <a href=" http://www.plime.com/members/ayunli/ ">paxil pills</a> %-]]]
sweet site thx <a href=" http://catori.u.yuku.com/ ">valium</a> dgev <a href=" http://catahecassa.u.yuku.com/ ">generic viagra
</a> 8PP
hi nice site thx <a href=" http://chanteyukan.u.yuku.com/ ">purchase propecia
</a> 370712 <a href=" http://www.plime.com/members/apiatan/ ">cialis for sale</a> wdcldi <a href=" http://catahecassa.u.yuku.com/ ">purchase viagra</a> 168 <a href=" http://chanter.u.yuku.com/ ">buy tramadol
</a> =-))) <a href=" http://carney.u.yuku.com/ ">purchase vicodin</a> 2174
hay <a href=" http://chanteyukan.u.yuku.com/ ">propecia no prescription</a> 1914 <a href=" http://chapa.u.yuku.com/ ">cheap phentermine</a> :-)) <a href=" http://chanter.u.yuku.com/ ">tramadol c o d</a> yxvja <a href=" http://chantesuta.u.yuku.com/ ">cheapest soma
</a> 95962
hay <a href=" http://chanteyukan.u.yuku.com/ ">propecia no prescription</a> 1914 <a href=" http://chapa.u.yuku.com/ ">cheap phentermine</a> :-)) <a href=" http://chanter.u.yuku.com/ ">tramadol c o d</a> yxvja <a href=" http://chantesuta.u.yuku.com/ ">cheapest soma
</a> 95962
see this thanks <a href=" http://catori.u.yuku.com/ ">valium no prescription
</a> boyz <a href=" http://catahecassa.u.yuku.com/ ">viagra alternative</a> fkpvii <a href=" http://chanlyeya.u.yuku.com/ ">cheap ultram</a> 2814 <a href=" http://chantesuta.u.yuku.com/ ">generic soma
</a> %P
i say one thing <a href=" http://chanteyukan.u.yuku.com/ ">order propecia
</a> %((( <a href=" http://www.plime.com/members/apiatan/ ">cialis free samples</a> 536 <a href=" http://chapa.u.yuku.com/ ">phentermine online</a> >:O <a href=" http://chanter.u.yuku.com/ ">tramadol hcl
</a> 8-PP <a href=" http://carney.u.yuku.com/ ">order vicodin</a> 22677
hay <a href=" http://www.plime.com/members/angeni/ ">cheap adipex</a> 631725 <a href=" http://awendea.u.yuku.com/ ">lolita nude porn</a> ymsw <a href=" http://catahecassa.u.yuku.com/ ">cheapest viagra
</a> >:P <a href=" http://chanter.u.yuku.com/ ">tramadol no prescription</a> =-]]] <a href=" http://carney.u.yuku.com/ ">buy vicodin</a> gxh
hay <a href=" http://www.plime.com/members/angeni/ ">cheap adipex</a> 631725 <a href=" http://awendea.u.yuku.com/ ">lolita nude porn</a> ymsw <a href=" http://catahecassa.u.yuku.com/ ">cheapest viagra
</a> >:P <a href=" http://chanter.u.yuku.com/ ">tramadol no prescription</a> =-]]] <a href=" http://carney.u.yuku.com/ ">buy vicodin</a> gxh
sweet site thx <a href=" http://chanteyukan.u.yuku.com/ ">propecia addiction
</a> lubiu <a href=" http://www.plime.com/members/apiatan/ ">cialis online</a> hoa <a href=" http://chanlyeya.u.yuku.com/ ">buy ultram</a> =-[[[ <a href=" http://chanter.u.yuku.com/ ">purchase tramadol
</a> %-) <a href=" http://chantesuta.u.yuku.com/ ">purchase soma</a> 751
it's nice site!!! <a href=" http://www.plime.com/members/apiatan/ ">cialis</a> zgqss <a href=" http://chardon.u.yuku.com/ ">buy meridia online</a> 4270 <a href=" http://chapa.u.yuku.com/ ">phentermine
</a> 648 <a href=" http://chanter.u.yuku.com/ ">buy tramadol online</a> 6967
good post man thx <a href=" http://catahecassa.u.yuku.com/ ">viagra addiction
</a> 97756 <a href=" http://chardon.u.yuku.com/ ">meridia pills</a> lpl <a href=" http://chapa.u.yuku.com/ ">phentermine no prescription
</a> gkuyz <a href=" http://carney.u.yuku.com/ ">generic vicodin
</a> :(
good post man thx <a href=" http://www.plime.com/members/angeni/ ">generic adipex</a> 87556 <a href=" http://chanteyukan.u.yuku.com/ ">propecia</a> 1372 <a href=" http://chardon.u.yuku.com/ ">order meridia
</a> >:-) <a href=" http://chapa.u.yuku.com/ ">phentermine pills</a> thcuqr <a href=" http://carney.u.yuku.com/ ">cheap vicodin</a> 8O
i say one thing <a href=" http://www.plime.com/members/angeni/ ">adipex pills
</a> 32504 <a href=" http://awendea.u.yuku.com/ ">fresh lolita sex</a> 8( <a href=" http://chanlyeya.u.yuku.com/ ">ultram no prescription
</a> gomh <a href=" http://chapa.u.yuku.com/ ">buy phentermine</a> >:-D <a href=" http://chantesuta.u.yuku.com/ ">soma pills</a> 373908
bookmark you thx
cFxW48 hi! hice site!
FnsgQO hi! hice site!
amUaL8 hi! hice site!
r3TwWP hi! hice site!
BInnbe hi! hice site!
tickets_5.txt;2;2
tickets_4.txt;2;2
hi great site 10x
interesting site man
f1T890