Subdomain to subdirectory external site

Hi I need to have a wordpress site that is hosted on a lamp server be mapped to a subdirectory of a windows site. Can this be done?

Here's what I need to achieve:

Have this subdomain:

1. blog.domain.com (wordpress site on lamp server)

Map to this subdirectory:

2. www.domain.com/blog (classic asp, iis 6 site on a windows 2003 server).

Finally, the goal is to have all the blog posts work under this new url as well (e.g., www.domain.com/blog/post_name)
robanddeannaAsked:
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.

Steve BinkCommented:
It sounds like what you want to do is *move* the site to the Windows server.  In that case, simply set up a new site in IIS.  Make it respond to the subdomain, and place its document root in the /blog subdirectory.
0
robanddeannaAuthor Commented:
I considered that already but unfortunately, it's not the preferred route by the team (since it's php/wordpress). Therefore, the goal is to keep it on the lamp server.
0
Steve BinkCommented:
DNS just doesn't work that way.  There is no way to say "my domain points to this server, except this directory which is over at this other server".  You could use a redirection, but that would require using another subdomain, e.g., blog.domain.com.  

You could also set up /blog on the Windows server to trigger a proxy request to the LAMP server, but that is much more hassle than it is worth.  

What reasons do the team for not wanting to consolidate the server?
0
Acronis Data Cloud 7.8 Enhances Cyber Protection

A closer look at five essential enhancements that benefit end-users and help MSPs take their cloud data protection business further.

robanddeannaAuthor Commented:
Because wordpress & php is native to linux. I've considered that option (hosting it on windows) myself but wasn't sure how compatible the two are on iis 6 & windows 2003....
0
Steve BinkCommented:
Though there are a few minor differences, PHP works just as well on Windows as it does on Linux.  Wordpress, as a PHP application, will work anywhere PHP is working.
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
robanddeannaAuthor Commented:
Thank you Steve for all the feedback/help. I'll see if we can revisit this as an option.
0
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
Apache Web Server

From novice to tech pro — start learning today.