Solved

Unable to login to SharePoint with different hostname

Posted on 2011-03-25
4
631 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
InfoPath Business days 1 50
How do I set a formatting mask in an InfoPath 2010 control? 3 36
Sharepoint 2010 Auditing 4 19
Sweet32 Vulnerability in Microsoft IIS7.5 6 56
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now