We help IT Professionals succeed at work.

Shorten the Windows Server DFS Namespace or use Domain Alias that works with DFS

737 Views
Last Modified: 2019-04-17
Is it possible to shorten the Windows Server DFS Namespace root address or domain name using an alias? Currently, we have it set up with \\domain.com\dfs\ but our domain name is too long and we are running into character limitations for some paths in our ERP system.  I know I can just point the paths directly to one of our file server's Hostname by that defeats the purpose of having a distributed file system.  We have two Windows 2016 Files Servers and one Windows 2008 R2 Files Server in this DFS Namespace.
Comment
Watch Question

System Admin
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
kevinhsiehNetwork Engineer
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Try Global DNS zones

Enable Global Names Support 1st
Create new global names zone in active directory
In that create CNAME entry pointing to all domain controllers

After that try resolving DFS name space with GlobalName


Ex:
\\Corp\dfs

It should resolve to DFS name space

https://blogs.technet.microsoft.com/qzaidi/2011/01/08/quickly-explained-globalnames-zone/
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
I guess many companies just deploy a drive letter mapped to \\mycorp.com\dfs
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
You can use junctions/symbolic links to shorten the paths

You might first need to enable it to work remotely. Use this to see the current config
fsutil behavior SymlinkEvaluation

Open in new window

Author

Commented:
Thank you all! We decided to use an alias to the NetBIOS of one file server on the DFS. That will allow us to redirect the path if one of our file servers goes off line.