Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To use pro, you need to make a CNAME entry pointing to

How does have to be configured in order to let this happen?

Updated for a more detailed explanation. points to simply needs a CNAME entry. needs to actually serve the request. How should this server be configured to allow this to happen?

share|improve this question

The domain name doesn't need any particular configuration -- anyone can create a CNAME for any domain they own, pointing to any other domain name.

The server will presumably need to be configured to do the short URL expansion for Pro paying customers, and block all other domain names that may be CNAMEd to by non-customers.

share|improve this answer
ok, but what server configuration allows for the server to let this happen? – Horia Dragomir Jan 26 '11 at 16:20
It's not a simple server configuration; it's probably some proprietary software. You need to write software that will pick up the http Host: request header and then take whatever action you want depending on the value of that header. – Mike Scott Jan 26 '11 at 16:24
If what you want is simply to serve different content based on the hostname used to connect, then the mention of was a bit of a misdirection. You need to do some research on Name Based Virtual Hosts. – Mike Scott Jan 26 '11 at 16:26
up vote 1 down vote accepted

After parallel research, I found that a simple <VirtualHost *:80> in the .conf file suffices.

It was never about serving different content based on domain name. It's about serving the same content regardless of domain name (which I have no control over), hopefully without having to do something special for every new third party domain name that wants to point to mine.

share|improve this answer

Your Answer


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.