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

  • Home
  • SEARCH
  • 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 85161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:02:45+00:00 2026-05-10T22:02:45+00:00

Our company has for many years had multiple domain names to protect our product

  • 0

Our company has for many years had multiple domain names to protect our product name. When our webiste was first set up we had all these domain names resolving to on IP address which worked fine until now. We rewrote the site with ASP.NET MVC and now use Recaptcha. The Recaptcha keys are registered to ‘www.example.com’ which is our main domain. We have other domains like ‘www.examples.com’ and ‘www.ex-ample.com’ that points to the same IP address. when someone comes to our site from the alternate domains, Recaptcha doesn’t work because the keys aren’t registered for that alternate domain. We would like to redirect eveything that comes in from ‘www.examples.com’ to ‘www.example.com’.

I have read that you can set up the sites in IIS and use a permanent redirect, but will this work if the domains all point to the same IP address?

We also have installed the Rewrite Module for IIS 7 because a lot of our pages moved when we switched to MVC. Is it possible to write a rule and if so how?

Is there a better alternative we should be using?

Any help to shine some light on this is greatly appreciated.


I have no problem setting up the domains in IIS, will this work if the domains all point to the same IP address? If I go to http://www.example.com (192.168.1.1) will it ever end up at http://www.examples.com (192.168.1.1) which redirects to http://www.example.com and cause an infinate loop because they are on the same IP address?


How would CNAME be done in a Windows 2003 DNS Server?

  • 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-10T22:02:45+00:00Added an answer on May 10, 2026 at 10:02 pm

    For the CNAME approach you need to pick ONE domain name and make that your primary. So make http://www.example.com the go-to, and every OTHER domain name redirects to this one. Then you can avoid the infinite loop.

    There is also a way to setup a configuration on the server so that browsers will allow multiple domains to look at a single cookie, in this case, http://www.example.com, then when http://www.examples.com and http://www.ex-ample.com try to read http://www.example.com‘s recaptha session info, it will work. This would allow you to still have multiple url’s in the browser, and support shared sessions.

    Personally I would just redirect them all to a single domain, MUCH easier to implement.

    so do:

    127.0.0.1        A       example.com www.exmaple.com  CNAME   example.com examples.com     CNAME   example.com www.examples.com CNAME   example.com 

    etc.

    EDIT: Yes, I was asleep when I wrote this. This is only part of the solution, I posted the remainder of it below.

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

Sidebar

Ask A Question

Stats

  • Questions 59k
  • Answers 59k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Theoretically it should be doable. It's not a big problem… May 11, 2026 at 9:01 am
  • added an answer I got an idea and made my own replacer. I… May 11, 2026 at 9:01 am
  • added an answer The Output and Error Data received is line buffered, and… May 11, 2026 at 9:01 am

Related Questions

Our company has for many years had multiple domain names to protect our product
For whatever reason, our company has a coding guideline that states: Each class shall
Our company has a point of sale system with many extras, such as ordering
Our company has thousands of PDF documents. How do we create a simple search
Our company has a policy imposing the requirement of keeping source code in a
Our company has a fairly large ASP.NET web application. The app is already broken
Recently our company has started measuring the cyclomatic complexity (CC) of the functions in
My company has a number of relatively small Access databases (2-5MB) that control our
Our company is currently writing a GUI automation testing tool for compact framework applications.
Our company is sending out a lot of emails per day and planning to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.