Avatar of Shifnal
Shifnal
 asked on

forward a server path to another server name

Hi all, i have just built a new server and have a new server name for example of server2
We have old server called server1 but have some software running that points to the server name and i want to set dns or something to auto point this to the new server so will have the below

A request to \\server1\folder goes to \\server2\folder

is this possible and if so how and where would i set this?

many trhanks
to you all.
SoftwareDNSWindows Server 2016

Avatar of undefined
Last Comment
Shifnal

8/22/2022 - Mon
Panagiotis Toumpaniaris

if server1 and server2 are hostnames (netbios names) then you cannot. that is UNLESS you mess with lmhosts (%SystemRoot%\System32\Drivers\Etc\lmhosts) where you have to add a line :

192.168.1.1  SERVER2 #PRE

Open in new window


"#PRE" is very important as it instructs the system to pre-load the entry.

If they refer to DNS names then just change it in your DNS server OR your hosts file (%SystemRoot%\System32\Drivers\Etc\hosts) where you will have to add an entry such as

192.168.1.1 server2.dns.local

Open in new window


hope it helps.
ASKER CERTIFIED SOLUTION
Brian B

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Shifnal

ASKER
Cname is the answer many thanks
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23