[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

SharePoint 2010 missing host header?

Posted on 2013-06-02
5
Medium Priority
?
489 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

656 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