#1  
Old 20th August 2009, 12:04
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default Sub domains

Guys Hi

I have been able to do some subdomains for my site. I am running joomla and have created subfolders inside the web folder for the site to accomodate subdomains for example my site is mptxxxxx.com and i have xxxxxx1.mptxxxx.com as a sub domain. So i have created a sub folder in the web folder with the name xxxxxx1 and installed uploaded joomla files to it. so how do i point xxxxxx1.mptxxxx.com to that particular folder. If i try using redirect i get mptxxxx.com/xxxxxx1 yet its supposed to remain as xxxxxx1.mptxxxx.com

Any help
Reply With Quote
Sponsored Links
  #2  
Old 20th August 2009, 12:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

The recommended wway is to create a new website for this subdomain and not use subfolder.

If you want to use the subfiolder, you can not use .htaccess files for this joomla installation.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th August 2009, 15:06
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default Error message with webmail

Error opening ../data/default_pref
Could not create initial preference file!
/srv/mpt.com/web/webmail/data/ should be writable by user wwwrun
Please contact your system administrator and report this error.


File permission is set to 777

Ok i have done what u had suggested earlier as in configuring them as separate sites. my problem now is that when i type http://xxxxxx1.mptxxxx.com it takes me to http://www.mptxxxx.com. What am i doing wrong. I have even entered the apache directives for xxxxxx1.mptxxxx.com

Last edited by wabz; 20th August 2009 at 15:27.
Reply With Quote
  #4  
Old 21st August 2009, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

What's the output of
Code:
ls -la /srv/mpt.com/web/webmail/data/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th August 2009, 14:33
wabz wabz is offline
Member
 
Join Date: Jul 2009
Posts: 84
Thanks: 4
Thanked 0 Times in 0 Posts
Default Output of command

Here is the output of the command. I just ran it for a different site with the same problem

mail:/srv/www/webmail.uwasnet.org/web/data # ls -la /srv/www/webmail.uwasnet.org/web/data total 20
drwxrwxrwx 2 web12 client5 4096 Aug 20 15:38 .
drwxr-xr-x 18 web12 client5 4096 Aug 25 14:18 ..
-rwxr-xr-- 1 web12 client5 14 Aug 20 15:38 .htaccess
-rwxr-xr-- 1 web12 client5 41 Aug 20 15:38 default_pref
-rwxr-xr-- 1 web12 client5 485 Aug 20 15:38 index.php


So what next?
Reply With Quote
  #6  
Old 26th August 2009, 17:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Do this:
Code:
chown wwwrun default_pref
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00
Web Hosting Only For Individual Domains bails Installation/Configuration 2 19th August 2008 16:35
Domains limit not enforced for resellers? mrvanes General 3 3rd January 2008 11:07
different counting of domains torusturtle Feature Requests 7 9th May 2007 22:18
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 01:33


All times are GMT +2. The time now is 11:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.