Solved

Force workstations to see the new server as the old server's hostname using DNS.

Posted on 2007-12-03
12
205 Views
Last Modified: 2010-04-07
I have a scenario where I need to allow workstations in my network to see a newly installed SBS server as an old SBS server name for the sake of accessing share files.
For instance the syntax: \\oldserver\sharedfiles   would access in reality \\newserver\sharedfiles.
I have tried to put in an A record in DNS on the new server for the DNS name oldserver to be the IP address of the newserver, and did the same thing to the host file on the XP workstations, however it only works if I am doing things in a web browser like http://oldserver/exchange will go to the OWA of the new server just fine.
Does anyone know how I can fool the XP workstations into thinking that the old server still exists using DNS or something?
If you are wondering why the weird requirement, it is to make an old database with an unknown number of data sets pointing to the old server name, and updating those names to the new server name is just not an option as I did not write the DB and the author is nowhere to be found.  But this is a mission critical database and I have it on a renamed XP workstation in order to make it work, but obviously I NEED to get it on the server somehow.
Thanks!
0
Comment
Question by:logicaltechs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 12

Expert Comment

by:weareit
ID: 20397872
IMHO, It would be easier to modify the DB.

-saige-
0
 

Author Comment

by:logicaltechs
ID: 20397951
So is it possible?
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398051
You need to use a CNAME (Alias) record, not a host (A) record.  The CNAME record would be oldserver.domain.com and it would resolve to newserver.domain.com.  That should work fine.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:logicaltechs
ID: 20398118
OK, I tried this on a test server, and I get this error message:
\\oldserver
You were not connected because a duplicate name exists on the network.  Go to System in Control Panel to change the computer name again.

However if I try to access something else using the alias, like http://oldserver/exchange for OWA for example it works.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398139
Is there another machine on the network with the same name?  Or are there stale records somewhere - in AD, DNS or WINS, for example - with the old server name?
0
 

Author Comment

by:logicaltechs
ID: 20398532
Actually, I thought the same thing, so just to test I went to whole other network with a different domain and everything.  I created a CNAME record in DNS called Phantom.domain.local and aliased it to server1.domain.local.  Now when I ping phantom, it resolves in a ping request.  But again if I got to run path and type: \\phantom   I get the same error message.  So I KNOW there is are no other computers or stale records with the name in it.  I did all the usual stuff like restart DNS server services and ipconfig /flushdns.
0
 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 500 total points
ID: 20398659
Browsing is a different animal; I don't think it will work if you try to browse or directly open a shared resource like you are doing.  However, I know that it works in the case where a program is looking for the server to connect to a shared resource.  The reason I originally did this on one of my networks has to do with Word and template locations, and adding the alias fixed the problem completely.  I'm not saying 100% that this means it will work with your database program, but is there any way you can test it from the actual program itself, rather than trying to use browsing?
0
 

Author Comment

by:logicaltechs
ID: 20398687
Well, I did test it, and I get the error message, "Cannot find the file the program needs to startup (\\oldserver\db.mdb)"  So I naturally attempt to browse to it.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398925
Naturally...well, maybe this just won't work for this program, then.  Are you getting that message when you run the program from its executable, or are you using a shortcut?
0
 

Author Comment

by:logicaltechs
ID: 20398943
From it's executable...  Well, I appreciate your help, if you don't have any other ideas, I will go ahead and accept you previous answer and award your points.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20399048
I can't think of any other way around this offhand.  Even if you try to fool WINS with a static mapping, it probably won't work.
0
 

Author Comment

by:logicaltechs
ID: 20399059
Thanks for your help.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question