How to show a different URL in the address bar?

I have a domain - www.mydomain.com. I can add subdomains such as www.portal.mydomain.com. I have a service portal for things like customer bookings that has its own domain and address such as www.serviceportal.com, so I may have say www.mydomain.serviceportal.com or www.serviceportal.com/mydomain.

What i would like to do is mask the www.serviceportal.com details and show this as my own web site service, so possibly using the subdomain or say www.mydomain.com/serviceportal.

Any suggestions on how?
peter2407Asked:
Who is Participating?
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.

flakierCommented:
You can do this with a transparent proxy.  For example, Squid.  I believe also the Apache web server can do this type of transparent proxy configuration.

You would install the proxy such that DNS points www.serviceportal.com to the proxy server.  If this is a public website, you can eliminate all the work of the configuration details by using a dns service provider that supports this feature.  For example, www.easydns.com supports this on some of their plans.
0
OnthraxCommented:
If I understand this correctly, the simplest way would be to use an iframe?
Put in an iframe on a page on mydomain.com and load the serviceportal.com in the iframe. Remove the borders of the iframe and it'll look like the page is on mydomain.com
0

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
InteqamCommented:
What technology are you using?

Maybe all you need is a URL Rewrite module.
0
InteqamCommented:
BTW: My two cents, you should be careful with this way of doing things, it might cause you troubles with SSL certificate.

0
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
Networking

From novice to tech pro — start learning today.