homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Linux and Windows on the same web domain?
main site is windows, but I want to run linux on a sub directory
pood

5+ Year Member



 
Msg#: 4056858 posted 6:47 pm on Jan 8, 2010 (gmt 0)

I'd like to move Wordpress back to subdirectory, but I don't want to deal with getting Wordpress working perfectly on a Windows box.

Is it possible to host Wordpress on a Linux install and on a subdirectory of a domain ((domain.com/blog) when the web domain is on windows? How complicated/time consuming will this take?

 

encyclo

WebmasterWorld Senior Member encyclo us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4056858 posted 6:57 pm on Jan 8, 2010 (gmt 0)

It is much easier if you use a subdomain rather than a subdirectory - see this thread:

[webmasterworld.com...]

pood

5+ Year Member



 
Msg#: 4056858 posted 11:09 pm on Jan 11, 2010 (gmt 0)

Yah, that's what we have it now, but I'd like to move it to sub dir for SEO reason (mainly so that when people link to our blog, they'll link to our root domain).

graeme_p

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4056858 posted 9:56 am on Jan 12, 2010 (gmt 0)

You could set up a reverse proxy.

It could either be one of the servers you will have anyway, or a separate one.

I have not done this myself, but it looks to me that Apache with mod_proxy or a number of other web servers (e.g. nginx, Lighttpd) could both run Wordpress and forward requests not for the Wordpress directory to your windows server.

If you want easy set up you might try Cherokee: there are step by step instructions for setting up Wordpress and a nice web admin interface.

pood

5+ Year Member



 
Msg#: 4056858 posted 11:30 pm on Jan 13, 2010 (gmt 0)

Cherokee looks interesting, I think I'm going to give that a try.

Is that kind of like xamp?

pood

5+ Year Member



 
Msg#: 4056858 posted 11:39 pm on Jan 13, 2010 (gmt 0)

BTW, with Cherokee, will I able to run my windows app on the main domain and use cherokee to run wordpress on a sub directory?

pood

5+ Year Member



 
Msg#: 4056858 posted 11:48 pm on Jan 13, 2010 (gmt 0)

by windows app, I mean IIS 7

graeme_p

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4056858 posted 4:59 am on Jan 14, 2010 (gmt 0)

Is that kind of like xamp?

No. Its just a web server. You will need to install php-fcgi and mysql separately (usually pretty trivial on Linux) and configure cherokee to use php (the docs on the cherokee site are clear).

I think so. I use Cherookee only as an easy to reconfigure development server (although that might change soon).

BTW, with Cherokee, will I able to run my windows app on the main domain and use cherokee to run wordpress on a sub directory?

As far as I can see from the docs, you can. You should be able to add a regular expression rule with an http reverse proxy handler that will forward anything not for the Wordpress subdirectory to the server running IIS.

It should be fairly straightforward, but please let me know how it works.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved