"Server not Found" error when trying to connect via FTP.

markusprince

Member
Feb 14, 2022
7
0
1
Canada
cPanel Access Level
Root Administrator
Hello, and apologies if this is posted in the wrong section.

When I try to connect to connect via FTP, I always get a "server not found" error message. Here are the details:
- The domain is an add-on domain.
- I have tested with both the server domain name and the IP address
- I am 100% sure that the username and password are correct.
- Using FTP, not SFTP, Port 21. I tested both passive and non-passive modes.
- Tried both ProFTPD and Pure-FTPd servers.
- Power 21 is open in the firewall.

What did I miss?

Thanks in advance,
Mark
 
Last edited by a moderator:

markusprince

Member
Feb 14, 2022
7
0
1
Canada
cPanel Access Level
Root Administrator
"Server not found" would indicate a bigger connection issue between your location and the server. Are you able to visit the site in a browser?
No.

The default domain for cPanel is domain1.com. From within cPanel, I created 2 more domains: domain2.com and domain3.com.

Default cPanel domain: domain1.com
New domain: domain2.com
New domain: domain3.com

I CAN http to domain2 and domain3.com.
I CANNOT http to domain1.com
I CANNOT ftp to any of them.

When I create an FTP account from cPanel, the FTP server it wants me to use is domain1, the default. I have tried changing the FTP server to domain2 and 3 (and changing the username accordingly) but I still cannot connect via FTP.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,632
363
cPanel Access Level
Root Administrator
Thanks for the additional details. Not being able to reach domain1 in a browser would indicate either a DNS issue or problem with the Apache configuration, depending on what error you're seeing.

When you connect to the FTP server, the hostname shouldn't matter. You can use the hostname of the server, the IP, the domain name - as long as it's something that points that machine your connection will work.

For FTP accounts that are created inside cPanel, you'll want to use the full "[email protected]" address as the FTP username. If you try just "username" it will not allow you access. Can you confirm you're trying that correct username format as well?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,632
363
cPanel Access Level
Root Administrator
That's so odd - this is one of those "it should just work" scenarios.

Could you open a ticket with our support team so we can check out this system? If you are able to do that, please post the ticket number here so I can follow along.
 

markusprince

Member
Feb 14, 2022
7
0
1
Canada
cPanel Access Level
Root Administrator
That's so odd - this is one of those "it should just work" scenarios.

Could you open a ticket with our support team so we can check out this system? If you are able to do that, please post the ticket number here so I can follow along.
I agree. It should "just work". I am also thinking that the answer is so obvious and easy too, and that I am just zoning-out or something. I will open a ticket now.

Mark