ispCP - Board - Support
Just a little simple question ... - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Just a little simple question ... (/thread-553.html)

Pages: 1 2


Just a little simple question ... - edony44 - 05-14-2007 08:01 PM

Hi,
i've try ispcp with success and i have to say that it's a very good isp !!!

But i would like to know why every adrress like *.mydomain.com came to isp and not only admin.mydomain.com !!

It's not a real problem i know but it would be nicer to have a master website that can present the domain or anything else and moreover it would be safer to don't let anybody have the access of the server admin section

Well i hope you have understood me, my english is so bad !!

Well good job again, i wait your answer

Thx


RE: Just a little simple question ... - BeNe - 05-14-2007 09:13 PM

Quote:Well i hope you have understood me, my english is so bad !!

I understand not really!
What do you mean with "came to isp and not only admin.mydomain.com ???

The default page or the login or what ??


RE: Just a little simple question ... - edony44 - 05-14-2007 09:37 PM

BeNe Wrote:I understand not really!
What do you mean with "came to isp and not only admin.mydomain.com ???

The default page or the login or what ??

Well i'll try to be more clear

now :
MYDOMAIN.COM =
http://WWW.MYDOMAIN.COM =
*.MYDOMAIN.COM ( not defined ) =
ADMIN.MYDOMAIN.COM =
= ISPCP


but it will be good to have
MYDOMAIN.COM = WEBPAGE 1 ;

http://WWW.MYDOMAIN.COM = WEBPAGE 1 OR WEBPAGE 2 ;

ADMIN.MYDOMAIN.COM = ispcp ;

AND *.MYDOMAIN.COM not defined = ERROR PAGE OR ANYTHING ELSE BUT user should choose that;


RE: Just a little simple question ... - BioALIEN - 05-14-2007 10:21 PM

Technically it should return a 404 or a 403 if someone does:
helloworld.domain.tld

Is this not the case edony44?


RE: Just a little simple question ... - edony44 - 05-14-2007 10:28 PM

BioALIEN Wrote:Technically it should return a 404 or a 403 if someone does:
helloworld.domain.tld

Is this not the case edony44?

absolutly not .. it return ispcp login like i've said previously .. every
*.MYDOMAIN.TLD except those which are created in ispcp


RE: Just a little simple question ... - joximu - 05-14-2007 10:30 PM

@edony44:
you can alter the file /etc/apache2/sites-enabled/master_oo.conf and deactivate the two lines with ServerName and ServerAlias and then make only one line

ServerName admin.yourdomain.tld

reload apache - finished.
Afterwards you should be able to let a user create yourdomain.tld (but he should not mak a subdomain named "admin"... of course... :-)


RE: Just a little simple question ... - edony44 - 05-14-2007 10:38 PM

joximu Wrote:@edony44:
you can alter the file /etc/apache2/sites-enabled/master_oo.conf and deactivate the two lines with ServerName and ServerAlias and then make only one line

ServerName admin.yourdomain.tld

reload apache - finished.
Afterwards you should be able to let a user create yourdomain.tld (but he should not mak a subdomain named "admin"... of course... :-)

Here is my master conf file without any change :
<VirtualHost 192.168.0.4:80>

ServerAdmin me@mydomain.com
DocumentRoot /var/www/ispcp/gui

ServerName admin.mydomain.com

ErrorLog /var/log/apache2/users/admin.mydomain.com-error.log
TransferLog /var/log/apache2/users/admin.mydomain.com-access.log

CustomLog /var/log/apache2/admin.mydomain.com-traf.log traff
CustomLog /var/log/apache2/admin.mydomain.com-combined.log combined

Alias /errors /var/www/ispcp/gui/errordocs/

ErrorDocument 401 /errors/index.php
ErrorDocument 403 /errors/index.php
ErrorDocument 404 /errors/index.php
ErrorDocument 500 /errors/index.php

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanger/

<IfModule mod_fastcgi.c>
SuexecUserGroup vu2000 vu2000
</IfModule>

<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>

<IfModule mod_php4.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

</VirtualHost>


RE: Just a little simple question ... - joximu - 05-14-2007 10:41 PM

So, this should be fine
just make a client an a domain "mydomain.com" and use it...
/Joxi


RE: Just a little simple question ... - edony44 - 05-14-2007 10:47 PM

joximu Wrote:So, this should be fine
just make a client an a domain "mydomain.com" and use it...
/Joxi

Ok i see ... it's just a little bit special isn't it ...

sub domain of this domain : xxxxxx.mydomain.com will be like new domain...

example

why not .. but strange


RE: Just a little simple question ... - edony44 - 05-14-2007 10:49 PM

edony44 Wrote:
joximu Wrote:So, this should be fine
just make a client an a domain "mydomain.com" and use it...
/Joxi

Ok i see ... it's just a little bit special isn't it ...

sub domain of this domain : xxxxxx.mydomain.com will be like new domain...

example

why not .. but strange



GRR i've

Code:
sys_command() | ERROR: External command '/usr/sbin/groupadd -g 2004 vu2004' returned '4' status !

Why i try to change status of mydomain.com ( it's a red square instead of a yellow pause symbol or a green play symbol )