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.

Example:
website http://abc.com we want to bring in house.
website http://abc.com/admin has to be with hosting provider.

How can we achieve this?
LVL 2
royitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

matrix8086Commented:
What is you webserver? If is Apache, you can do what you want with "redirect" directive, something like this:

Redirect /admin http://adminabc.hostprovider.com

Best regards!
0
matrix8086Commented:
Errata: Which webserver do you have (or intend to have) in house? instead of "What is you webserver?"
0
KimputerCommented:
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 http://abc.com/admin to keep working, abc.com still has to be at the hosting company. As long as that's true, you can't host abc.com yourself.
The only way it will work is if abc.com/admin has nothing to do with the main page, NOTHING at all.
Even then you have to forward the main abc.com page to ANOTHER page or domain (the one you host yourself). And it can't be abc.com. Only then can you implement a solution.
0
matrix8086Commented:
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!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.