Solved

Unable to login to SharePoint with different hostname

Posted on 2011-03-25
4
632 Views
Last Modified: 2012-05-11
I just installed Sharepoint 2010. My machine name is FarhanVM, so the Central Administration URL is http://farhanvm:9999/

This is setup on the domain farhantest.com (I have a DNS server running so that it resolves)
I setup sharepoint.farhantest.com to be my machine running Sharepoint/IIS

When I create a Web Application using the hostname farhanvm, everything works great. But, if the Web Application's hostname is sharepoint.farhantest.com, I receive a login prompt, but am unable to login even as the Administrator.

How do I fix this problem so that Sharepoint.FarhanTest.com works?
0
Comment
Question by:pzkhan
  • 2
4 Comments
 
LVL 9

Expert Comment

by:BobHavertyComh
ID: 35218488
If there is no machine named sharepoint on your network then this can't work. Can you name your machine sharepoint??
0
 

Author Comment

by:pzkhan
ID: 35218561
There is. Sharepoint.farhantest.com is set to the same IP as FarhanVM. Going to SharePoint.FarhanTest.com gets me to a login page. But I cannot login, even as Administrator, from the login page.
0
 

Author Comment

by:pzkhan
ID: 35244448
Sharepoint must be accessed from a separate machine to have a different host-name work. I just used IE on the host machine (not the VM) to get into SharePoint.FarhanTest.com site and it worked.
0
 
LVL 16

Accepted Solution

by:
jessc7 earned 500 total points
ID: 35245706
If I understand you correctly, you are unable to access sharepoint.farhantest.com from the SharePoint server itself, but you can from a separate machine.

If that is correct, try disabling the loopback check on the SharePoint server. See this KB, and look at method #2 to resolve:

http://support.microsoft.com/kb/896861
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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