Server domain redirection
I need to know if it is possible to redirect the domain from the original server to another server and keep the original URL in browser, so the client can see the original url in browser url.
Case scenario:
the new site is in a linode vps.
I need the windows server to redirect the requests of
I googled a bit about this and found two possible solutions:
1- Using a frameset in the new server: this seems the easiest solution but i dont like because the url becomes static.. i need the subdomain path to be displayed in the browser url
2- Reverse proxy: it seems possible to do what i want ( (windows server)
I hope i made my self clear!
Someone can give me some advice? I'm not a sysadmin..
Thank you!
5 Replies
The email server has the same URL as the web server?
Maybe if you actually provided the details, people could do more then make a half ass'd guess at a solution.
I wanted to spare useless details the problem is as i told.
I'll try to give a better explanation:
yes they have the same url, example:
The current status is my company has a domain pointing to a server (windows) hosting email with exchange. What i was told is they simple can't point the domain to linode because of the email server they would have to migrate it too..
I'm not a sysadmin i don't know if it has to be this way or there's a better solution without redirects.
I just developed a new site for them and because it's php/mysql based i thought it was better to host the site in linode(ubuntu)..
Maybe, for this situation, it's easier to host the site in windows server where the email server is.. i never did it but i know it's possible.
I just wanted to know all possibilities before taking a decision.
The current website that i'm replacing is in another server and the solution was to create a page with a frameset in the original server and point the frameset to the other server keeping this way the url..
I'm sorry i know it's a little bit messy..
1) Point company.com and
2) Create a subdomain mail.company.com that points to your exchange server's IP
3) Create MX records on company.com that point to mail.company.com
Result: A web browser to
Your situation isn't unique, in fact, it's the normal way things are set up (with different web and mail servers), so the DNS system has had a solution to the problem for decades.