• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Subdomain always appear with default Plesk webpage

LaurentR2D2

Plesk Certified Professional
Plesk Certified Professional
Hello,

I rune in a problem. I've set up three subdomains for one of my domain, the first one without problem, the two following, I keep haveing the default webpage of Plesk in my browser, even after deleting the files and adding other ones in the httpdocs folders. Where should I look, please ?

Thank you

Plesk 9.3.0 30 domains
Ubuntu 8.0.4
 
Try to recreate it in CLI with /usr/local/psa/admin/bin/subdomainmng (--help for details) and check output of this utility.
 
Try to recreate it in CLI with /usr/local/psa/admin/bin/subdomainmng (--help for details) and check output of this utility.

/usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=butile --vhost-name=madonie.org --user-name=LaurentR --cl-id=LaurentR
subdomainmng: Unable to getpwnam for user LaurentR
subdomainmng: Unable to getpwnam for user LaurentR
 
--cl-id is ID of client, but not his name.

Where do you get this ID ? I get this with "client -i" :

/usr/local/psa/bin/client -i LaurentR


Général
=============================
Version de Parallels Plesk Panel: psa v9.3.0_build93091230.06 os_Ubuntu 8.04
Statut: OK On
Société: Madonie
Nom personnel: LaurentR
Login: LaurentR
Nom personnel du propriétaire: Laurent Rathle
Login du propriétaire: admin
 
Just put mouse cursor over client's name in Clients list and look at browser's status bar. You will see client's ID there.
 
Just put mouse cursor over client's name in Clients list and look at browser's status bar. You will see client's ID there.

I'm sorry, I must be stupid, but :

~# /usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=butile --vhost-name=madonie.org --user-name=LaurentR --cl-id=3
subdomainmng: Unable to getpwnam for user LaurentR
subdomainmng: Unable to getpwnam for user LaurentR


https://sd-17013.dedibox.fr:8443/plesk/client@3/
 
Check that you have record for LaurentR in /etc/passwd:

I understand now, thank you. I've launched the command without error message and it has created the directory inside subdomains directory, but nothing appears in the subdomains list inside Plesk panel :

http://www.madonie.org/Snapshots/plesk-subdomain.png

/usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=bu --vhost-name=madonie.org --user-name=laurentr --cl-id=client@3
root@sd-17013:~# /usr/local/psa/bin/subdomain --create bu -domain madonie.orgAn error occured during subdomain creation: The repertory /var/www/vhosts/madonie.org/subdomains/bu for the subdomain exists already.

root@sd-17013:~# ls -alh /var/www/vhosts/madonie.org/subdomains/
total 24K
drwxr-xr-x 6 root psaserv 4,0K 2010-03-26 10:06 .
drwxr-xr-x 14 root root 4,0K 2010-03-21 15:59 ..
drwxr-xr-x 7 root root 4,0K 2010-03-26 10:06 bu
drwxr-xr-x 7 root root 4,0K 2010-03-26 10:04 butile
drwxr-xr-x 7 root root 4,0K 2010-03-22 00:46 joomla
drwxr-xr-x 7 root root 4,0K 2010-03-25 19:23 savs
 
Check limit for allowed subdomains for this domain.


Unlimited :

# /usr/local/psa/bin/domain_pref -i madonie.org
Domain 'madonie.org' limits:
Espace disque: Unlimited
Trafic: Unlimited
Boîtes mail: Unlimited
Quota de boîtes mail: Unlimited
Redirections de messagerie: Unlimited
Groupes de messagerie: Unlimited
Répondeurs automatiques: Unlimited
Utilisateurs Web: Unlimited
Bases de données: Unlimited
Listes de diffusion: Unlimited
Applications Java: Unlimited
Sous-domaines: Unlimited
Alias de domaine: Unlimited
Date d'expiration: Unlimited
Politique de sur-utilisation: notify
Notifier lorsque l'utilisation du trafic max a été atteinte:Unlimited
Notifier lorsque l'utilisation de l'espace disque max a été atteinte:Unlimited
Courriel à un utilisateur inexistant: 'reject'
WWW: true
WebMail: horde
Autoriser l'utilisation des scripts pour les utilisateurs Web:false
Conserver les statistiques Web et de trafic: 3
Statut du domaine: Le domaine est actif.
SUCCESS: Gathering information for 'madonie.org' complete.
 
It seems the problem has been solved. I can't tell how and why, but now I can create again my subdomains. Thank you for your help.
 
Back
Top