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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
OnthraxConnect With a Mentor Commented:
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
 
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
 
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
All Courses

From novice to tech pro — start learning today.