The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server madhunk UNIX for Dummies Questions & Answers 5 01-31-2008 10:30 AM
Unix and Windows Server 2003 italia UNIX for Dummies Questions & Answers 1 03-01-2007 08:09 PM
VPN client (windows Box),and Server (Unix Box) zillah UNIX for Advanced & Expert Users 0 05-10-2005 12:10 AM
Windows Client Vs Unix Server? collins High Level Programming 0 10-05-2004 07:49 PM
Windows Server 2k3 vs. Unix CapsuleCorpJX UNIX for Dummies Questions & Answers 1 08-08-2004 02:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2008
Registered User
 

Join Date: Sep 2007
Location: AIX-VILLE
Posts: 73
Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1 to Server 2. This will cause us to have to change our scripts to now point to Server 2. Is there anyway that a systems admin on their side can create an alias/pointer name to Server 2 using the Server 1 name, so in conclusion we wouldnt have to change our unix scripts. Or can we create an alias on the unix side to point to Server 2 where any script would reference Server 1? Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 03-26-2008
Registered User
 

Join Date: Mar 2008
Posts: 7
I'm not sure, if I understand you clearly.

If there is hostname usage in scripts (DNS names) you could use "/etc/hosts" file (or equivalent) on your server to override hostname <-> IP assignment:
Code:
#/etc/hosts

IP.ADDRESS.OF.SERVER2    Server1
The disadvantage of this resolution is that physical Server1 will be not accessible via DNS name.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0