Networking Forums

Networking Forums > Computer Networking > Windows Networking > CNAME browsing from the server

Reply
Thread Tools Display Modes

CNAME browsing from the server

 
 
jiggyman
Guest
Posts: n/a

 
      10-12-2006, 10:04 PM
We recently migrated all our applications from an old set of servers to a new
set. As part of the migration, we needed to keep both sets up and running so
we started a new naming convention for the new servers. Migrations were
successful except for 1 application.

This application has hardcoded into it, lines of code that search for the
OLD server name. So let's say it was called server1 and the new server is
let's say, server2. Since we couldn't change the application's code, after
the migration, we removed server1 from the domain and cleared out any DNS
entries for it. We then created a CNAME record of server1 to point back to
server2. We then made a few regedit changes on server2 which allows Windows
servers to accept incoming requests from both the actual computer name and
the CNAME.

When you browse to server1 remotely from a workstation (i.e. -
\\server1\share), it works fine. It brings me to the share on server2 as
expected.

HOWEVER, if I use the CNAME from the server itself, it doesn't work. It
asks for login credentials and regardless of whatever domain or local
administrative account we enter, it rejects all logins. We think this is the
reason why our application is failing. When the application is invoked on
the server, the code is looking for the name, server1. Despite the presence
of a CNAME, because it is not server1 but is actually called server2, the
application won't run. Because of other reasons, we cannot change the name
server2 to server1. We need to keep server2 as the name.

So again - browsing to server2 remotely using the CNAME, server1, works just
fine. From the server itself, the CNAME will not work. We have tried
editing the hosts file to have the CNAME point back to 127.0.0.1 and we tried
to say CNAME points back to this server's IP address as a wild stab. That
didn't work either.

Help!!!!!!
Thanks,
-Ji

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reference 2003 Enterprise Server by DNS CNAME but not Standard EHuggz Windows Networking 0 10-31-2008 05:59 PM
cname salim.madni@gmail.com Linux Networking 1 12-28-2007 12:40 PM
duplicate name - with a CNAME mehul Windows Networking 3 11-26-2006 09:47 PM
2000 Server, CName records and XP Clients Azriphale Windows Networking 6 08-23-2005 08:34 PM
DNS: to CNAME or not to CNAME? Windows Networking 2 06-20-2004 02:47 AM



1 2 3 4 5 6 7 8 9 10 11