Current time: 12-23-2024, 07:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Just a little simple question ...
Author Message
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #1
Just a little simple question ...
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
05-14-2007 08:01 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Just a little simple question ...
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 ??
05-14-2007 09:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #3
RE: Just a little simple question ...
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;
(This post was last modified: 05-14-2007 09:38 PM by edony44.)
05-14-2007 09:37 PM
Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #4
RE: Just a little simple question ...
Technically it should return a 404 or a 403 if someone does:
helloworld.domain.tld

Is this not the case edony44?
05-14-2007 10:21 PM
Find all posts by this user Quote this message in a reply
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #5
RE: Just a little simple question ...
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
05-14-2007 10:28 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: #6
RE: Just a little simple question ...
@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... :-)
05-14-2007 10:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #7
RE: Just a little simple question ...
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>
05-14-2007 10:38 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: #8
RE: Just a little simple question ...
So, this should be fine
just make a client an a domain "mydomain.com" and use it...
/Joxi
05-14-2007 10:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #9
RE: Just a little simple question ...
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
05-14-2007 10:47 PM
Find all posts by this user Quote this message in a reply
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #10
RE: Just a little simple question ...
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 )
(This post was last modified: 05-14-2007 10:59 PM by edony44.)
05-14-2007 10:49 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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