Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I recently purchased a VPS hosting and everything went well.

I tried to set a blog for my site as follows :

I created in DNS manager a Cname that points to : .

Where the blog website is located.

but It isn't working for some reason.

Any suggestions?

share|improve this question
up vote 1 down vote accepted

The DNS, as the name says, deals with Domain Names, not URLs. You can't put a path (like /blog) in a CNAME.

You should put an A record for that points to the IP address of your server, and configure an HTTP Virtual Host on the server.

share|improve this answer
Ok, I just created a Host(A) record in my DNS Manager. – Joseph Ghassan Sep 10 '10 at 7:54
My blog is hosted under wwwroot/blog. – Joseph Ghassan Sep 10 '10 at 7:55
how can I link now : to www.trimhold.con/blog ? – Joseph Ghassan Sep 10 '10 at 7:56
Ok, Worked perfectly thanks – Joseph Ghassan Sep 10 '10 at 9:14

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.