Go Premium for a chance to win a PS4. Enter to Win


How to show a different URL in the address bar?

Posted on 2010-08-17
Medium Priority
Last Modified: 2013-12-20
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?
Question by:peter2407
  • 2

Expert Comment

ID: 33455383
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.
LVL 13

Accepted Solution

Onthrax earned 2000 total points
ID: 33459776
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

Expert Comment

ID: 33573213
What technology are you using?

Maybe all you need is a URL Rewrite module.

Expert Comment

ID: 33573219
BTW: My two cents, you should be careful with this way of doing things, it might cause you troubles with SSL certificate.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question