Your Hosting Talk | Your Hosting Community

Full Version: How to point subdiretory to different server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello folks,

How to point subdiretory to different server ??

Corporate Gifts | Corporate Gifts Suppliers in Delhi | Corporate Gifts Suppliers in Noida
There are two different mechanisms that you might be able to use to accomplish this. What you use will depend on the setup you have as well as what permissions you have on the server from the hosting company if this is not a dedicated server.

The first option is to map to the second server using the file system, then use mod_alias to point the subdirectory to the mapped location. This requires that the two servers be networked together, for instance if you have one server dedicated to a specific server, but own and can safely network the servers at the file system level.

Another option would be to set up Apache to act as a proxy. This does require some advanced programming to configure but the system can be set up so that requests to the specified subfolder would be passed on to the remote web server. This can be used when the remote server can't be networked at the file system level, but lets you simulate the workings of a remote subdomain.