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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:51:51+00:00 2026-06-04T23:51:51+00:00

I have a unique problem to which I can not find a solution. I

  • 0

I have a unique problem to which I can not find a solution.
I manage a website which is hosted on IIS 6 from within a Godaddy shared MS hosting package.

Within this hosting package, there are multiple websites being hosted, each with its own domain.

The way Godaddy has set it up is that ONE domain is the “primary” domain. This must be hosted in the root e.g. D:\hosting[USER]. When you browse to domain1.com, it points to the root for this site’s files.

All other domains must point to a subfolder within that root. e.g. D:\hosting[USER]\site_2\, and when you browse for domain2.com, it points to that subdirectory. When you add a second domain/website, it is done via a godaddy control panel which seems to be unrelated to IIS (e.g. you enter the domain, a subfolder, and click “go”, and it’s done.)

This is the part I can not replicate on my development PC. on the Dev machine, I can browse the root directory (containing files for site1) by editing my hosts file and pointing domain1.com to my local machine. so far so good.

I tried creating an “application” which points to the 2nd site’s subfolder within the root, but I can not make domain2.com point to that subdirectory, etc.

I hope that made sense, and I am hopeful that I just need a nudge in the right direction.

Thanks,
G

  • 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-04T23:51:53+00:00Added an answer on June 4, 2026 at 11:51 pm

    there are several pieces to the puzzle.

    I don’t have any experience with IIS, so I cannot give you specific tips, but inorder to recreate the dev environment you need 2 things.

    1. Your computer needs to recognize that inorder to server domain2.com, it needs to respond itself, and not query the DNS. So you need to “hack” the DNS lookup into returning your own IP i.e 127.0.0.1 (loopback interface). You can find the instructions here
    2. IIS needs to respond to domain2.com address request, so it needs to know where domain2.com files are. Presumably, you need to configure that somewhere in IIS UI/tools.

    Once step 2 is done, wether you host the domain in /hosting/domain1/domain2 or /hosting/domain2, is immaterial from web server’s perspective.

    Goodluck.

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

Sidebar

Related Questions

I have a unique industrial application where I do not want the Windows CE
I have a unique requirement which I need to meet to with sitecore, and
I have a Cmake project where I use static libraries from another project (which
I have a unique problem/situation here. Trying to make it as simple as possible.
i have a problem which is i believe basic for most of the RoR
The problem itself is simple, but I can't figure out a solution that does
I have some problem to find oop information about my problem in scala, peraphs
Several months ago I implemented a solution to choose unique values from a range
I have a problem getting boost::multi_index_container work with random-access and with orderd_unique at the
I have an SQL database with a set of tables that have Unique Id's.

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.