• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Plesk Email Security - fully qualified domain name: a "strange" Issue

Squicky

New Pleskian
Hi everyone, I'm a new Plesk user with zero experience and I need help understanding and solving a Full Hostname issue.

My server is running on Debian 10.8 and everything seems to work fine.
I tried to install Plesk Email Security but I cannot set the extension configuration because the hostname is not valid.
In my System Overview the Hostname is absolutely correct –> plesk00.example-domain.com but if I access the server executing the command # hostname via terminal, the Hostname name is actually missing the domain associated with the server because I see only plesk00 and not plesk00.example-domain.com as should be.

root@plesk00:~# hostname
plesk00
root@plesk00:~#

This article describes the procedure for changing hostname via terminal because from Plesk cPanel the hostname result correct.
How to change or get the server hostname on the Plesk server

Since everything is working fine, I would not want to cause a disservice by changing the hostname with the terminal commands.
Can someone help me?

Thanks in advance
 

Attachments

  • images-full.jpg
    images-full.jpg
    816.9 KB · Views: 34
That's o.k. you can have several host names in /etc/hosts. Only the first is reflected by the hostname command, but it's not really important. In Plesk you enter the fully qualified domain, the name that can be accessed from the internet and leads to your server.
 
That's o.k. you can have several host names in /etc/hosts. Only the first is reflected by the hostname command, but it's not really important. In Plesk you enter the fully qualified domain, the name that can be accessed from the internet and leads to your server.
Hi Peter, many thanks for your reply.
But how can I fix the Plesk Mail Security Issue?
I can't use this extension because the full hostname is not properly set (see my screenshot above).
As I wrote, I'm a beginnig Plesk user, and I don't know how to fix the problem.

Thanks in advance,
Marco
 
You can change the order of host names in /etc/hosts, you can also verify that in Plesk you have entered the fully qualified hostname.
 
You can change the order of host names in /etc/hosts, you can also verify that in Plesk you have entered the fully qualified hostname.

My fully qualified hostname is already set into Plesk but when I try to open Plesk Email Security extension appears a warning (see image attached).
 

Attachments

  • 00.jpg
    00.jpg
    101 KB · Views: 48
  • 02.jpg
    02.jpg
    52.9 KB · Views: 39
> You can change the order of host names in /etc/hosts, ...
Peter, many thanks for your patience!
In the attached image my /etc/hosts configuration.
As I told you, I'm not too skill about these technical problems.
Please, could you suggest me how to set correctly the hosts file to solve the Plesk Email Security issue?

Many thanks in advance
 

Attachments

  • hosts-01.jpg
    hosts-01.jpg
    254.4 KB · Views: 64
@Squicky, I am not familiar with Debian, but my CentOS /etc/hosts file has an entry with the servers external ip followed by the hostname. Like:
188.166.XXX.XXX vps001.example.com vps001

Isn't there an entry with your external IP in your /etc/hosts file?
 
Last edited:
@Squicky, I am not familiar with Debian, but my CentOS /etc/hosts file has an entry with the servers external ip followed by the hostname. Like:
188.166.XXX.XXX vps001.example.com vps001

Isn't there an entry with your external IP in you /etc/hosts file?

I did the change suggested and now works fine.
The problem is solved.
Thanks a lot to you and Peter for your help,
Have a nice day,
Marco
 
Back
Top