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 4115534
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:35:40+00:00 2026-05-20T22:35:40+00:00

Hoping there’s been a best practices way to accomplish this so far. Basically, I’m

  • 0

Hoping there’s been a “best practices” way to accomplish this so far.

Basically, I’m building an ASP.NET MVC 3 site that I would like to host from a central database and server.

I’d like for [domain1].com and [domain2].com to point back to this one server. Ideally, I’d like this server to see a request from domain 1, and serve content relevant to domain 1 (which is essentially a category of topical information — the rest of the structure would be the same). I’d like folks not to get redirected away from that domain if possible.

I’m thinking I should map each domain to a specific static IP, have all connections through those IPs connect to the central site, and return relevant data that way.

What experiences have folks had doing this with the .NET stack, and are there any “best practices” to consider in this case?

This might not be as clear as it could be; I’ll aim to revise as I get questions.

Thanks in advance for your help!

—
Sean

  • 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. Editorial Team
    Editorial Team
    2026-05-20T22:35:40+00:00Added an answer on May 20, 2026 at 10:35 pm

    The term you are looking for is “host header” to distinguish sites. See following article that describes behavior of IIS – http://www.it-notebook.org/iis/article/understanding_host_headers.htm.

    One of the ways is to configure IIS to serve 2 different sites based on host name by configuring binding for each site appropriately (see http://technet.microsoft.com/en-us/library/cc753195(WS.10).aspx ) .

    You can also serve all domains from the same site. In this case you’ll need to check HOST of incoming request and change routing appropriately. You’ll likely need to write you own routing as I don’t think MVC support routing by host out of the box.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was hoping there was an easier way to do this in my MVC
I'm sure this has been done a hundred times, but i'm hoping there is
I am hoping that there might be an easy way to do this, I
I am hoping there is a better way to do this. Do I really
I'm hoping there is a built in .NET method to do this, but I'm
This has already been asked here but I was hoping there was a nicer
I am hoping there is a way to do this, with one event-handler. Allow
This is a long shot but I'm hoping there's a way to stop IPhones
I'm hoping there's some clever way to do this. I have a generic base
I'm hoping there is a simple solution to this. I'm using MVC 3. I

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.