• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Adding New Domain Name - Error

Status
Not open for further replies.

webviri

New Pleskian
Hello,

Im using plesk 10.4.4 on centOS 6 and i was doing fine with my panel till yesterday.

Today morning when i tryed to add new domain it says...

"Error: Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>' what(): Execution of hostname -f failed with return code 1. Stderr is hostname: Unknown host "

Im new to plesk and not too much of tech guy, help!
 
Check that hostname of your Plesk server is correctly specified in /etc/hosts file in FQDN format and this hostname is resolvable.

# hostname -f
# cat /etc/hosts
 
hello,

# hostname -f

plesk.savegfx.com

and # cat /etc/hosts

85.17.214.74 i-2-1323-VM.local i-2-1323-VM
82.192.71.83 localhost.localdomain localhost
127.0.0.1 plesk.savegfx.com plesk localhost.localdomain localhost plesk.82.192.71.83 plesk localhost4 localhost4.localdomain4
::1 plesk.savegfx.com plesk localhost.localdomain localhost plesk.82.192.71.83 plesk localhost6 localhost-2-1323-VM.local i-2-1323-VM

and i have plesk.savegfx.com as my hostname on plesk... is that okey?

Thanks alot.
 
Status
Not open for further replies.
Back
Top