Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 98339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:10:37+00:00 2026-05-11T00:10:37+00:00

My employers website has multiple hostnames that all hit the same server and we

  • 0

My employers website has multiple hostnames that all hit the same server and we just show different skins for branding purposes.

Unfortunately WCF doesn’t seem to work well in this situation.

I’ve tried overriding the default host with a custom host factory.

That’s not an acceptable solution because it needs to work from all hosts, not just 1.

I’ve also looked at this blog post but either I couldn’t get it to work or it wasn’t meant to solve my problem.

The error I’m getting is ‘This collection already contains an address with scheme http’

There’s got to be a way to configure this, please help 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:10:38+00:00Added an answer on May 11, 2026 at 12:10 am

    If you don’t put an address in the endpoint then it should resolve to whatever server hits the service. I use this code and it resolves both to my .local address and to my .com address from IIS.

    <system.serviceModel>     <services>         <service name='ServiceName' behaviorConfiguration='ServiceName.Service1Behavior'>             <endpoint address='' binding='wsHttpBinding' contract='iServiceName'>             </endpoint>             <endpoint address='mex' binding='mexHttpBinding' contract='IMetadataExchange'/>         </service>     </services>     <behaviors>         <serviceBehaviors>             <behavior name='ServiceName.Service1Behavior'>                 <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->                 <serviceMetadata httpGetEnabled='true'/>                 <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->                 <serviceDebug includeExceptionDetailInFaults='true'/>             </behavior>         </serviceBehaviors>     </behaviors> </system.serviceModel> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on a website that has Employee and Branch entities, using a database table
I'm in the process of extending and improving a website that has quite a
My situation is after login my website I wanted to show how many employees
i have made a company website which has the MYSQL database of accounting,inventory,expenses, etc.
I have a website and am trying to rewrite all urls with 'http://www...' to
This is a question that seems to be floating around all over the place,
Actaully i developed an Asp.net website which has a PDA app part. The case
I have a website that integrates a fan box and a few other things
I started my website, like stackoverflow, with a little technical debt that I'm trying
I've got an interesting dilemma that has stumped me and a coworker. I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.