I have a Windows Server 2008 R2 with single network adapter. For this adapter I created two IP addresses and registered DNS aliases for each one:
1.2.3.4 => app1.rnd.example.com
1.2.3.5 => app2.rnd.example.com

The server itself is included in domain as srv1.lab.example.com (i.e. domain is lab.example.com).

Then I created a shared folder with Read/Write permissions to Everyone.

I can access both shares via IP addresses. I can access both shares via DNS-aliases from outside of the server.
But when I try to access shares via DNS-aliases (\\app1.rnd.example.com\myshare) from inside of the server then I'm prompted for credentials.

How to fix this?

link|improve this question
1  
Have you tried it by turning off the firewall? Where did you register the DNS addresses (domain DNS?), and what type of environment are you in? Is the server on a domain? How are you logging in? To a domain or to your local computer? – KCotreau Jul 21 '11 at 11:35
@KCotreau, I've updated the Q with details. – Shrike Jul 21 '11 at 12:11
What are the server's DNS entries, same server or a different one? If on the same server are they set to the IP (recommended by Microsoft), or to the loopback (127.0.0.1)? Can you browse to the share and does it still request credentials? I have to say, this is a strange one. – KCotreau Jul 21 '11 at 13:40
@KCotreau, sorry, but I don't fully understand what do you mean by "server's DNS entries: same server or a different one". I asked our administrators to create DNS names for particular IP-addresses (one-to-one). DNS entites are made not on the server itself, but somewhere in domain. So they should point to the IP. I can check this by "nslookup" tool: "nslookup app1.example.com" return "1.2.3.4". – Shrike Jul 21 '11 at 14:01
Same server, network properties>the LAN connection>TCP/IP properties, what are the settings for the DNS server? Is the DNS server on the same server we are talking about or on another one? – KCotreau Jul 21 '11 at 14:07
show 2 more comments
feedback

1 Answer

I think I uderstand what Shrike is looking for as I have a similar issue. Shrike are you using a name diferent than the name assigned to the computer? For example the computer name is fileshare01.example.com but you want to access it via a DNS name of app1.example.com? I have setup a similare arangement behind a load balancer and even though I can ping the computer using the app1.example.com name and opne file shares using the IP I get prompted to enter credentials (wich doesn't work) if I use the alternate name.

I know there are several solutions presented in this blog but none of them quite fit my use case as I want multiple servers to respond to the same name so registering multiple computers under the same name will not work as I want the name to point at the VIP on the load balancer.

link|improve this answer
Thanks for the link, it's helpfull. Unfortunately it doesn't solve my case either. – Shrike Oct 3 '11 at 10:27
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.