• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

domain aliases creation from CLI

J

JarekG

Guest
Hi,

I've got a problem with creating domain alias from CLI. I've checked on Plesk 8.6 it works but doesn't on mine 9.2 (Linux) and 9.0 (Windows).

I do:
# ./domalias -c test.com -domain domain_already_in_plesk.com -status enabled -mail true
I have:
Requested domain was not found.Invalid ID value: -1

When do exactly the same syntax to Plesk 8.6 it works perfect.

Any ideas ?

I also tried other possible command syntax, all giving the same error.

Regards,
Jarek
 
Hello,

We were unable to reproduce this issue. The result of this command on our test server is the following:

===

-bash-3.2# locate domalias
/usr/local/psa/admin/plib/api-cli/domalias.php
/usr/local/psa/bin/domalias
/usr/local/psa/bin/domalias.sh
-bash-3.2# /usr/local/psa/bin/./domalias --create exam.net -domain tipodomain.com -status enabled -mail true

===

You can find more information on this utility in the following article:

http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.2-unix-cli/38962.htm
 
Obviously after reporting an issue it started working by such a miracle! Argghh...

Sorry for being stupid ;).

Regards,
Jarek
 
Back
Top