?
Solved

SharePoint 2010 missing host header?

Posted on 2013-06-02
5
Medium Priority
?
486 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:manojce
ID: 39215425
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
ID: 39216772
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
ID: 39218024
Please double check hostheader entry in "C:\Windows\System32\drivers\etc\hosts" file.

and compare with older file.
0
 

Author Comment

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

Accepted Solution

by:
manojce earned 1480 total points
ID: 39236804
So please add hostheader entry in that file.

127.0.0.1       mywebapp
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

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