• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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