Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: bakedjake

Message Too Old, No Replies

Linux and Windows on the same web domain?

main site is windows, but I want to run linux on a sub directory

     

pood

6:47 pm on Jan 8, 2010 (gmt 0)

5+ Year Member



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

6:57 pm on Jan 8, 2010 (gmt 0)

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



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

[webmasterworld.com...]

pood

11:09 pm on Jan 11, 2010 (gmt 0)

5+ Year Member



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

9:56 am on Jan 12, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



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

11:30 pm on Jan 13, 2010 (gmt 0)

5+ Year Member



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

Is that kind of like xamp?

pood

11:39 pm on Jan 13, 2010 (gmt 0)

5+ Year Member



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

11:48 pm on Jan 13, 2010 (gmt 0)

5+ Year Member



by windows app, I mean IIS 7

graeme_p

4:59 am on Jan 14, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month