Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

My site is written in asp.net using C#/MVC 4.5, and is hosted on Windows Server 2008, IIS7. #

It has the following route https://mysite.com/c/v. When the user types in https://www.myothersite/c/v, I want it to redirect/route to https://mysite.com/c/v, however, I want the route in the client's browser to display https://www.myothersite/c/v.

We obviously own both domain names, and, we own the web server that hosts www.mysite.com, and define the bind to www.myothersite will be on the same web server. Is this possible?

share|improve this question
    
Are you sure you want to do this? It sounds like you'll potentially be creating duplicate content issues: webmasters.stackexchange.com/tags/duplicate-content/info –  nathangiesbrecht May 6 '13 at 18:25
    
@nathangiesbrecht - I guess that's exactly what I am trying to avoid; the current site is not properly layered and it may be easier to keep this little 1-2 page site under our main site, rather than creating a separate site and quite possibly have to duplicate code. –  gangelo May 6 '13 at 18:40
    
I may have misunderstood your question. You want /c/v to be available on myothersite but NOT on mysite.com? Or do you want it to be accessible on both? –  nathangiesbrecht May 6 '13 at 18:52
    
@nathangiesbrecht - it doesn't matter if you can access it from either url, but when I go to myothersite.com/c/v, the url must remain myothersite.com/c/v but obviously hit the mysite.com/c/v site code. –  gangelo May 7 '13 at 12:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.