proftpd on dedicated IP not allowing username to exclude the "@domain"

Operating System & Version
CENTOS 7.8
cPanel & WHM Version
v90.0.15

Mr.Newlove

Registered
Jan 8, 2020
4
1
3
Canada
cPanel Access Level
Root Administrator
Hello!

I have been trying to get this to work for the last few days.

Cpanel user set up on a dedicated IP on our server, I switched to proftpd and made sure a virtual host was set up for that user in /etc/proftpd.conf but it still requires the user to enter the @domain in their username?

I have a feeling that this is something to do with the account having multiple domains, but I have tried specifying the domain for the virtualhost in proftpd but no luck. Browsing to the IP address in a browser also doesn't work. I have changed the primary domain to the desired domain though.

I know its a hard thing to start on, but does anyone have any ideas?

I have read these posts and tried what they said but no luck:

https://forums.cpanel.net/threads/ftp-username-with-no.125521/

https://forums.cpanel.net/threads/ftp-without-domain-com.25482/

https://forums.cpanel.net/threads/ftp-username-with-no.125521/#post-698018



Thanks,
Kyle
 

Mr.Newlove

Registered
Jan 8, 2020
4
1
3
Canada
cPanel Access Level
Root Administrator
Just in case some poor soul comes across this at a later date.

My hunch was right, make sure the @domain you want to get rid of is the primary/default domain for that cpanel account and then toggle between ProFTPD and back to Pure-FTPD and it worked for me!

I am happy that it ended up working with Pure-FTP anyway
 
  • Like
Reactions: andrew.n

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
I'm glad to see you were able to get this to work for you though from the documentation here: FTP Accounts | cPanel & WHM Documentation as well as from the information relevant to assigning a dedicated IP address when you assign a dedicated IP to an account the primary domain should be what is resolved, without making any modifications. If this didn't happen I would suggest you contact you open a ticket to have this investigated further by our analysts.