Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question

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

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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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