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:

How would I modify IIS to show the urls for our ClientPage stuff as having the www.our_site.com domain?
LVL 27
Eddie ShipmanAll-around developerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eddie ShipmanAll-around developerAuthor Commented:
The DOMAIN is the same, the subdomain is different. Does this still apply?
Dale BurrellDirectorCommented:
Yes that does still apply - because you are running them as separate applications in IIS.
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
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.