Portal Home > Knowledgebase > Articles Database > folder on seperate server


folder on seperate server




Posted by keith007, 08-22-2012, 03:40 PM
Hi All, I have a domain www.domain.com that features a vbulletin forum on I would like to install Joomla based CMS to a folder but woried that if this gets comprimised it could effect my vbulletin script is it possible to have www.domain.com/joomla on another server, i have done this with sub domains but would like to do it with just folders Any help welcomed Cheers Keith

Posted by Imthatguyhere, 08-22-2012, 03:48 PM
I believe a rewrite would do it: http://httpd.apache.org/docs/2.4/rewrite/remapping.html

Posted by barbus, 08-22-2012, 04:02 PM
I agree, rewrite is right decision. Here some additional manuals: http://nginx.org/en/docs/http/ngx_ht...te_module.html http://redmine.lighttpd.net/projects...ocs_ModRewrite

Posted by keith007, 08-22-2012, 04:09 PM
Would it be simple with a joomla installation amd joomla's rewrites in action Domain A rewriting towards server 2 that has rewrites in action as well

Posted by Imthatguyhere, 08-22-2012, 04:11 PM
Yes, you can have many rewrites in a .htaccess file. It should be fine.

Posted by keith007, 08-22-2012, 04:47 PM
cheers all I will give this ago Keith

Posted by steven99, 08-22-2012, 04:52 PM
As the folder would be within the domain's root for web space, there isn't a way to have the joomla install on a separate server without some behind the scenes proxying to that second server. You can use rewrites to do /joomla to then redirect to http://anotherserver.com/joomla but the address bar would change as it is handled as s redirect since you can't rewrite to urls. (imagine rewriting site.com/phish to bank.com to pull some of their content to make a site look like the real site) So, to do this, using apache or nginx to proxy /joomla to the second server would be the way to go. However, using /joomla to redirect to joomla.domain.com as you have done in the past may be the easiest and best portable way. In any way you set it up though, you'll need a subdomain or IP for the proxying / redirect to be done to the second server.

Posted by Imthatguyhere, 08-22-2012, 04:54 PM
That's actually true. I didn't really think about it, but I'm fairly particular using Rewrite in the article I posted causes a redirect.

Posted by steven99, 08-22-2012, 05:02 PM
Yeah, the article is sound information and you're right it does a redirect which would cause the address bar in the browser to change. If that is okay with the OP, then OP run with it.

Posted by keith007, 08-22-2012, 07:32 PM
Hi all I think my best bet would be create the cms to a sub domain ww2 on my second server Server one main forum www.domain.com Server two cms. ww2.domain.com/joomla This would give the end user the appearance of not moving away and keep everything isolated for security All using dns entries This should be do-able Cheers Keith



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
netuplink is down? (Views: 818)
Backups (Views: 796)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.