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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:53:04+00:00 2026-05-29T21:53:04+00:00

I have 2 domains, a .eu and .com. The .eu domain points to my

  • 0

I have 2 domains, a .eu and .com. The .eu domain points to my .com site. This works fine, except my SSL certificate is for the .com domain. So if someone types in

https://wwww.mydomain.eu/somedirectory/default.aspx

I want to rewrite the url to the .com, so I dont get a SSL issue

https://wwww.mydomain.com/somedirectory/default.aspx

Here is my web.config snippet

<rule name="Redirect for .eu" enabled="true" stopProcessing="true">
    <match url=".eu$" />
    <action type="Redirect" url="http://www.mydomain.com{R:0}" appendQueryString="false" />
 </rule>

Will this 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-29T21:53:06+00:00Added an answer on May 29, 2026 at 9:53 pm

    URL re-writing is not what you think it is, and it cannot solve your SSL issue. Only a proper certificate can. That’s why we have SSL security in the first place.

    Here’s what URL re-writing does: The URL provided by your user is translated within your server into another URL so that your server knows which script to process. The user and the user’s browser don’t even know this is happening if it’s done right. For example, if the user requests URL http://www.mydomain.com/ballyhoo, your server could rewrite it (to itself, because that’s the only way!) as http://www.mydomain.com/q.aspx?term=ballyhoo and then your server’s q.aspx would continue handling the request. The user gets the convenience of a simple URL, and the server gets the convenience of processing lots of different looking requests by the same script.

    Now back to your problem. Your users are securely requesting something from your .eu domain, and you don’t have the proper certificate. It would be a terrible security hole if you could automatically redirect them to another domain without making them aware of the security implications. That’s why such a scenario is not allowed. Web browsers are just doing their job of protecting users.

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

Sidebar

Related Questions

I have magento installed in a subdirectory. www.domain.com/subdir/magento This site worked perfectly at one
I have two domains - abc.com and xyz.com. I have a CNAME that points
Let's say I have a domain, js.mydomain.com , and it points to some IP
I have a website with three domains .com, .de and .it Each domain needs
I have 10 top-level domains e.g. example1.com, example2.com, example3.com, etc, and each domain has
I have domain site.com and there is subdomain sub.site.com Once you open sub.site.com you
I have a Joomla 1.5 site published on http://domain.com/subdomain . Now I have added
I have the following .htaccess file which works fine for say www.companyone.com: RewriteEngine On
I have my site which redirects all *.domain.com calls to domain.com. What I want
I have a site www.domain.com/jeeves/ . I would like searches on the site to

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.