Current time: 12-28-2024, 05:03 AM Hello There, Guest! (LoginRegister)


Post Reply 
A bunch of small questions ..
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #1
A bunch of small questions ..
Hi,

I've just installed ispCP Nighlty build on a semi production server. *brave* Wink

It seems to work great. I have some questions tho ..

1) How do I use PHP5 as default for all new domains and users.

2) Is there already implemented a way to give a subdomain to new users that don't have an own domain registered? Like userdomain.com.hostingcompany.org.
If not, what is the best way of implementing this? A guide?

3) To move the mails I have in VHCS to ispCP, is it enough to create the new email account in ispCP and then to copy the content of the /var/mail/virtual/domain.com/ from one server to the other?


Thanks Smile

/E
(This post was last modified: 05-23-2007 08:27 PM by Eminos.)
05-23-2007 08:26 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: A bunch of small questions ..
1) see FAQ about PHP5 instead of PHP4 and use the templates in /etc/ispcp/fcgi....

2) no - you have to add an alias (clientN.mydomain.tld) manually

3) should be the right way - make sure the mail accounts are the same and afterwards I'd check the ownership and permissions...

/Joximu
05-23-2007 09:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #3
RE: A bunch of small questions ..
Awsome! Thanks for the answer joximu.

About this domain alias thing. I know how I can create it my user control panel. But how do I "bind" it to my customers "domain" ? So that the customer can see his own page at customer.com.hostingcompany.com.

/E
05-23-2007 09:17 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: A bunch of small questions ..
You're right. If the "domain.tld" is already installed the you cannot use this for your customer.
Maybe it's ok if you have a domain just for theese things. Then maybe you can use
client1.myspecialdomain.tld and
client2.myspecialdomain.tld
if you never use myspecialdomain.tld as a main domain then it may work (not testet).

Well - just tried... now the mount-point "/" is not ok... so I don't know how to make it. Just the manual way:

you can change the files manually in /etc/apache/ - but also in /etc/ispcp/apache/working


There already was that wish so I think this will come in a later version...


/J
05-23-2007 09:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #5
RE: A bunch of small questions ..
Is it possible to modify this hack to work like newuser.com.hostingcompany.com ?
It uses the apache2 userdir module.

http://vhcs.puuhis.net/wiki/index.php/Te...to_domains

/E
05-24-2007 02:16 AM
Find all posts by this user Quote this message in a reply
Z4P Offline
Junior Member
*

Posts: 62
Joined: May 2007
Reputation: 0
Post: #6
RE: A bunch of small questions ..
i don't get it to work Sad
05-24-2007 02:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #7
RE: A bunch of small questions ..
something like this should work:

Quote:<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName users.yourdomain.com
<IfModule mod_userdir.c>

UserDir /var/www/virtual/*/htdocs
UserDir disabled root

<Directory /var/www/virtual/*/htdocs>

AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

</Directory>

</IfModule>
</VirtualHost>
05-24-2007 06:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #8
RE: A bunch of small questions ..
Hmm, I don't see how this would work since the "users.yourdomain.tld" is fixed in your example. We want the "users part" to be dynamic and to match the users domain.

/E
05-24-2007 06:22 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #9
RE: A bunch of small questions ..
Oh, sorry. I didn't see that. Well, you would have to write the apache and bind files manually.
05-24-2007 07:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: A bunch of small questions ..
Somewhere in this forum there is a post with a script which adds ServerAlias entries to the actual config files... (a bash script)
05-24-2007 07:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)