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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:08:38+00:00 2026-06-05T08:08:38+00:00

I have a project that contains 2 web application and I want to use

  • 0

I have a project that contains 2 web application and I want to use same URL to access the two application

1) admin site used by company : appcompany.com

  • a web forms application

2) general site used by company’s customers : [CUSTOMER_ID].appcompany.com

  • also a web forms application but used ROUTING to determine the customer from the sub-domain.

Currently, typing appcompany.com in the browser takes you to the home page indicating no customer specified

Typing 123.appcompany.com takes you to a page customized for customer 123.

As said earlier, the general site application can determine when no customer was specified and could redirect – but redirecting to the admin site may require another URL since they are different project

The problem is I don’t know how to make appcompany.com go to the admin site without having 2 URL(s).

UPDATE

I am using asp.net ROUTING to simulate sub-domain routing in case I don’t have privilege to multiple physical sub-domains

  • 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-06-05T08:08:41+00:00Added an answer on June 5, 2026 at 8:08 am

    You need to specify it in IIS adminitrator. You need to create 2 different applications:

    • 1) for the admin site
    • 2) for the customer apps

    Each of this one have to point to the physical directory where you implement your applications.

    Then you have to edit the bindings:

    • for 1) add only one host header “appcompany.com”
    • for 2) you need to add one host header for each customer: “cust1.appcompany.com”, “cust2.appcompany.com” and so on

    IIS will redirect each request to the specified app: You should add the binding for each company in the same moment where you add the DNS entry for it.

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

Sidebar

Related Questions

I have a web project that used to use Forms Authentication. I have new
I have a solution that contains two projects. One project is an ASP.NET Web
Interesting one here. I have an ASP.NET 1.1 project that contains a web service
I have a project that uses two independent Android libraries. Each of them contains
I have an ASP.NET MVC 2 application. Web project contains a reference to SomeProject
I have a Solution which contains an ASP.NET Web Application project. Web Application project
We have a Project that contains 2 modules; web and client The web module
I have a web project in Eclipse that contains a linked folder to another
I have a project that contains xml files. I also have an Ant build
We have a project that contains a library of Python and Scala packages, as

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.