I realize this may be a weird thing to ask and that it doesn't make much sense, so I will clarify the issue here. It is a very bizarre issue that I do not understand why is happening and I do not know how to fix.
Here's the scenario: My Mac's user name is
andyibanez. I am also the owner of
https://www.andyibanez.com. I want to configure my website to use a different subdomain for FTP, SSH, and all those goodies, called
ftp, so my
ftp host will be
ftp.andyibanez.com. So I created the DNS settings and tried to use them.
Here's the weird thing, though: When I open the Terminal app and type
ssh firstname.lastname@example.org, the operation fails immediately, it doesn't even try to connect to the internet. I know it doesn't because it fails as soon as I send the command by pressing the Enter key.
ssh: Could not resolve hostname ftp.andyibanez.com: nodename nor servname provided, or not known
All apps I have tried to use SSH and FTP have failed immediately. That includes Cyberduck and Transmit.
Trying to ping
ftp.andyibanez.com doesn't work, either.
ping: cannot resolve ftp.andyibanez.com: Unknown host
At this point you may be thinking that I have misconfigured my DNS settings. Nope, I am 100% I didn't, for the following reasons:
- All operations in regarding that host fail immediately.
- I have actually tried a different computer (that doesn't have
andyibanezas a user) and it worked fine. I was also able to connect fine using the Transmit iOS app.
- I set up another domain as
ftp.myotherdomain.comwith the same things as
ftp.andyibanez.comand it works fine. I can connect to it with no problems.
Of course, I have the easy workaround that I can connect with this computer by setting a different subdomain or even using the naked domain. So I can connect to SSH. I am asking this because I am really curious as to why this happens.