Server name alias?

Cringer

ProgressTalk.com Moderator
Staff member
I've got to urgently run some code on a different server to normal and the author is away and I can't find his source. It's hard coded to look at \\hob03\someplace but that server doesn't exist at the moment. Is there any way I can trap any calls to \\hob03 and route them to \\inevh05 instead?
 

TheMadDBA

Active Member
Temporary fix might be to add inevh05 with the IP address of hob03 to your hosts file. Usually under C:\windows\system32\drivers\etc.

Depends on how your host name resolution is set up and how it looks for hosts.
 

Cringer

ProgressTalk.com Moderator
Staff member
Thanks for that. Already tried that and it's not working. Trying a DNS alias for now, and whilst that works for manual navigation Progress still doesn't seem to be able to find the files. Very frustrating.
 

Rob Fitzpatrick

ProgressTalk.com Sponsor
Progress should resolve host names the same way any other application would. Did you try flushing your DNS cache?
 

TomBascom

Curmudgeon
You have learned a very important lesson about hard coding things -- now teach that lesson to your colleague ;)
 

Cringer

ProgressTalk.com Moderator
Staff member
Thanks Tom. It's a lesson I have already learned. Unfortunately the colleague is the IT manager and shouldn't be hacking code but he does. :(
 
Top