Redirect Http microsites to different server

We have a website hosted on thirdparty  hosting provider. We are planning to bring the site to inhouse but leave the admin page there for references.

website we want to bring in house.
website has to be with hosting provider.

How can we achieve this?
Who is Participating?
Even it is not logical, if this is a must, it can be possible by the technical point of view. You can acces the database over the Internet you can syncronize it, dupicated it, make a cluster, etc.

But if it is not a must, to avoid consistency and security issues, it is better to keep frontend an backend in the same place, as Kimputer just explained!
What is you webserver? If is Apache, you can do what you want with "redirect" directive, something like this:

Redirect /admin

Best regards!
Errata: Which webserver do you have (or intend to have) in house? instead of "What is you webserver?"
It doesn't sound very logical to me. The admin page probably has influence on the main page (otherwise, why is it even there)?
It probably also means it depends on a database. Not only that, you keep the same name, and for that to work, forwarding will probably not work (even if it does, after the forward, the page will show errors, connecting to database and resources and what not).
If you want to keep working, still has to be at the hosting company. As long as that's true, you can't host yourself.
The only way it will work is if has nothing to do with the main page, NOTHING at all.
Even then you have to forward the main page to ANOTHER page or domain (the one you host yourself). And it can't be Only then can you implement a solution.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.