URL Rewriting?

We have a website where the url is http://www.our_site.com. This site is a mixture of ExpressionEngine and Magento.

We have another site that is kind of like a profile site for our clients. It is an ASP.Net site.
The url is like this: https://ftp.our_site.com/Gooie/ClientPage/ClientPage.aspx (don't ask me about the ftp subdomain here).

The login page for our ClientPage site is:
https://ftp.our_site.com/Gooie/LogOnSection/index.aspx?ReturnUrl=/Gooie/ClientPage/ClientPageIntro.aspx

How would I modify IIS to show the urls for our ClientPage stuff as having the www.our_site.com domain?
LVL 26
Eddie ShipmanAll-around developerAsked:
Who is Participating?
 
Dale BurrellDirectorCommented:
You can't change the domain using url re-writing. The domain determines which website within IIS handles the request. You can't even handle requests to two different domains with the same app unless both domains are registered for the same site.

A possible way to accomplish something like what you are asking is if the client site was a virtual directory under the main site. i.e. essentially a sub-app.
0
 
Eddie ShipmanAll-around developerAuthor Commented:
The DOMAIN is the same, the subdomain is different. Does this still apply?
0
 
Dale BurrellDirectorCommented:
Yes that does still apply - because you are running them as separate applications in IIS.
0
 
Eddie ShipmanAll-around developerAuthor Commented:
One is is IIS in asp.Net (the ftp subdomain) and the other is running on a virtual linux server using PHP
0
 
Dale BurrellDirectorCommented:
Its irrelevant where they are running and under what web server they are running.

A single web application can only re-write URLs to domains its responsible for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.