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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:43:56+00:00 2026-05-12T15:43:56+00:00

If I have a website at myFirstDomain.com/dir/, is it possible to get mySecondDomain.com to

  • 0

If I have a website at myFirstDomain.com/dir/, is it possible to get mySecondDomain.com to point to myFirstDomain.com/dir/ so that when users browse at the directed site, they only see mySecondDomain.com/potentialSubDirFromMyFirstDomain/ or how does it work?

  • 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-12T15:43:56+00:00Added an answer on May 12, 2026 at 3:43 pm

    Ok good.

    Well what you’ll need to do is make use of IIS 6.0 Host Header Filter.

    Essentially in IIS you will have your default web site which is currently serving myFirstDomain.com.

    With Host Headers, we can add another web site which is mapped to the location of your subdirectory and will only be visible if the user enters via ‘mySecondDomain.com’.

    So in a nutshell we are getting IIS to host multiple sites on one box. I’m not too familiar with the process in IIS 6.0 since all I use is IIS 7.0 which is not available on Windows Server 2003.

    However, the following links should help you implement it in IIS 6.0:

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b77cf015-017f-489c-9b5b-65ca4a679392.mspx?mfr=true

    http://forums.iis.net/t/1120787.aspx

    http://www.goarticles.com/cgi-bin/showa.cgi?C=188629

    The idea is that when a user types ‘mySecondDomain.com’ it will add this ‘host header’ into the body of the HTTP request from the browser to IIS, IIS will then read this value and check to see if any of the website(s) contain a match for the host header and redirect the user to the appropriate website, thus mySecondDomain.com will appear as though its on its own server (which it technically is anyway.)

    From what I remember the host header attribute only exists in the HTTP 1.1 protocol, HTTP 1.0 does not support it and will not send the host header to IIS which means the default web site will be displayed instead…(regardless of what domain you come in from). I’m pretty sure most browsers are using HTTP 1.1 though.

    A safer way would be to bind each web site via IP address… but for this you will need multiple internet ip addresses on one box – I’ve never had a problem with host headers though!

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

Sidebar

Related Questions

I have website that use XMLHttpRequest (jQuery, actually). I also have another site running
I have a website I am developing ( http://www.mywebsite.com/ ) that makes use of
I have website that uses ASP.net Membership Provider. This web site will be served
I have a website that I've just uploaded onto the Internet. When I browse
I have website based on Umbraco 5. I have installed contact form plugin (http://cultivjupitercontact.codeplex.com/).
I have website where users can login with their Facebook account. I am using
So basically I have website that has names of cities that can be checked
I'm using jQuery. I have website feature that does an ajax search and returns
I have a website with friendly urls. I want all url´s that end with
I have a website that has approx 1000 different strings in a mysql database

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.