1

I have a website whose url is subdomain.example.com but I want users to use a different url to access it, example.com/subdomain. Just to add a bit of context, the two domains are on two separate servers, on different technologies, so I cannot put them on the same server. I know I can do redirect from one to the other but for marketing reasons end users cannot see the redirected url in the address bar but always the one they typed.

Is this possible? How to implement it?

Thank you

0

There are two possible solutions:

1) Use iframes and inside the iframe open the other URL.

2) Use something like mod_proxy on apache httpd or whatever the equivalent if your webserver is.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.