Results 1 to 4 of 4
-
05-15-2002, 04:43 AM #1Junior Guru
- Join Date
- Nov 2001
- Posts
- 216
How to stop hostname showing in ftp?
Hi,
I have got a big problem. My resellers as they sell for more than us, we give them their own ip's for nameservers and tell them to set up a catchall email address so that their customers can't see who we are but now we have got another problem the writing that comes up when you connect to ftp says our hostname. I tried renaming it to something anonimous like plesk.server.net but the email stopps working when I do this !
So is there a way to change the text so that it doesn't show our hostname?? And if not, is there a way to change the hostname to somthig that doesn't exist without stopping the email from working????
Please help it is urgent !!!
hoot
-
05-15-2002, 05:48 AM #2Fool about Town
- Join Date
- Sep 2001
- Location
- Sirkali Rural Tamilnadu
- Posts
- 738
hoot,
The hostname is a serious thing and it is what identifies your server - so dont go changing it. Also if you need Apache to start your hostname should resolve to your server IP - which means you need zone records for your hostname in your DNS
If your domain is ninja.com and you want to call your server foo.ninja.com and your server's primary IP is 1.2.3.4 then you need an A record in your DNS that resolves foo.ninja.com to 1.2.3.4
If you are using ProFTPd then you can edit proftpd.conf and set
ServerIdent Off [or No cant remember] and your hostname wont show in FTP
Cheers
BalajiI am now happily selling Natural Herbal Hair Oil - happy to be so far removed from technology!
-
05-15-2002, 06:05 AM #3Junior Guru
- Join Date
- Nov 2001
- Posts
- 216
thanks I've just tried serverident off and it removes the PROFTP thing but still says :
< 220 plesk.mydomain.com FTP server ready.
I have read on www.proftpd.org that you can specify the message and put for example :
ServerIndent "Ftp server ready"
to not show the hostname but I've tried this and I can't connect to ftp afterwards !
any ideas?
-
05-15-2002, 06:15 AM #4Junior Guru
- Join Date
- Nov 2001
- Posts
- 216
ANy thanks, I've found the solution and fixed it :
The is the code you are supposed to use :
ServerIdent on "Ftp server ready"
You just put it at the bottom of the proftpd.conf file which is in /usr/local/psa/ftpd/etc/
I hope this helps anyone with the same problem as me
hoot