server#1 hosts domain.com content.

If I want to map a different IP on another server to domain.com/blog would I use a CNAME record for this?

Or is a cname only for blog.domain.com ?

link|improve this question

51% accept rate
feedback

migrated from superuser.com May 25 '10 at 4:02

This question came from our site for computer enthusiasts and power users.

1 Answer

up vote 5 down vote accepted

A CNAME (and anything related to domain names) only covers the part up to the first slash.

In order to host domain.com/blog on a different IP, you'll need to do some sort of proxying on the web server that handles domain.com. It'll be quite a bit easier to use blog.domain.com instead, if that's feasible.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.