Solved

SharePoint 2010 missing host header?

Posted on 2013-06-02
5
461 Views
Last Modified: 2013-06-11
I am trying to resolve some of the problems I am having in my environment and I think it is all related to a possible host header misconfiguration.

When I run the following code in my environment:

$wa = get-spwebapplication “http://mywebapp”
$iissettings = $wa.GetIisSettingsWithFallback("Default")
$iissettings.serverbindings

Open in new window

I get the following result:

HostHeader   Port UpgradedPersistedProperties             
----------   ---- ---------------------------             
              80                                         

Open in new window

I guess that suggests that my host header is missing? How do I fix it?
0
Comment
Question by:MisUszatek
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:manojce
Comment Utility
Hi,

Can you see the hostheader entry in Central Admin Site ?

Are you sure, you have configured HostHeader entry in IIS & Central Admin Site ?

Also you can configure host header using below powershell commands.
http://gallery.technet.microsoft.com/office/Fully-configure-Host-d4027a48

Let me know if you have any issue.

Thanks,
0
 

Author Comment

by:MisUszatek
Comment Utility
Everything looks ok in Central Admin (host header and AAM) and IIS (bindings). It is possible that something was changed manually and not properly reflected in the configuration database. How do I fix it for the existing production web app?
0
 
LVL 5

Expert Comment

by:manojce
Comment Utility
Please double check hostheader entry in "C:\Windows\System32\drivers\etc\hosts" file.

and compare with older file.
0
 

Author Comment

by:MisUszatek
Comment Utility
I do not see any host headers in the hosts file...
0
 
LVL 5

Accepted Solution

by:
manojce earned 370 total points
Comment Utility
So please add hostheader entry in that file.

127.0.0.1       mywebapp
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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. …
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

9 Experts available now in Live!

Get 1:1 Help Now