Help - Search - Members - Calendar
Full Version: Is this a hostname problem and is it fixable?
The Planet Forums > Control Panels > Plesk
geckoandrew
When someone ftp's to a domain account they get ProFTPD's daemon message which states plesk.rackshack.net

Is this the hostname not being set or something?

Andrew
winston
QUOTE
Originally posted by geckoandrew
When someone ftp's to a domain account they get ProFTPD's daemon message which states plesk.rackshack.net  
 
Is this the hostname not being set or something?  
 
Andrew


Disclaimer: I don't use Plesk on my server, so this is at your own risk...

The hostname on a RedHat system can be changed by editing /etc/sysconfig/network and changing the HOSTNAME= setting. I believe there's also a way to do it via Plesk, check other forum messages.

(Maybe we need a FAQ here - or maybe RS can figure out a way to set up the hostname for new customers as they were with the CobaltRaQs.).
Squire
I *think* that one is a setting in ProFTPD itself GeckoAndrew, assuming you've already run reconfigurator to correct the default server info. (If you haven't done that yet search the boards for something like reconfigurator and you should find it. Alien made an excellent post showing step-by-step how to fix that issue.)

For the ProFTPD part of it, I'd suggest taking a little trip by the ProFTPD website as they have a pretty good section on changing settings in the default FTP client. http://www.proftpd.org is the addy, then kind of look around for the configuration examples. I don't remember where I found them exactly.

I've tweaked several things in my ProFTPD just because I hate having the server log me out when I'm idle for 2 minutes. icon_biggrin.gif But the Server Name is also one of the settings I changed while I was there.

On the standard Plesk installations the file you'll need to edit can be found at "/usr/local/psa/ftpd/etc" and is called "proftpd.conf".

If all you want to change is the server name people see when they FTP in, that one will be listed as ServerName up towards the top. Just change it to whatever you want.

FYI, since this isn't covered well on the ProFTPD site, since we run it as ServerType inted, you can freely ignore the directions when they tell you that you need to restart ProFTPD. That's only required when running as a Standalone. With the inetd setup changes will take effect as soon as you save that file and someone FTP's in again.

HTH

Randy
HostCrest
This is not a setting in proftpd.conf; "plesk.rackshack.net" is coming from your hostname. So if you change that on the system, it should fix your problem.

BTW, the "ServerName" from proftpd.conf is also included in the FTP message... The syntax is something like:
CODE
220 ProFTPD [i]<version>[/i] Server ([i]<ServerName>[/i]) [[i]<hostname>[/i]]

Name ([i]<server>[/i]:[i]<username>[/i]):
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.