I'm connecting to a WD MyCloud NAS over my local network.
When I connect using the IP I get a clean address like afp://192.168.0.20/folder/file, which is nice, but when I connect using the server name, I get this weird ugly afp://Server._afpovertcp._tcp.local/folder/file.
Is there a way to have it just as afp://server/folder/file?
Best Answer
Did you try adding the server name and IP to your host files in Mac? I would recommend having a static IP on your NAS for this.
sudo nano /private/etc/hosts
and press Return.You will now have the hosts file open in the Nano editor. Use the arrow keys on your keyboard, to navigate and edit the file.
In your case it can be:
Like with the Windows method above you should just add the desired IP followed by the hostname (or domain name) at the bottom after
::1 localhost
.Press Control-O to save the file.
dscacheutil -flushcache