I recently purchased a VPS hosting and everything went well.

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

blog.trimhold.com

I created in DNS manager a Cname that points to : www.trimhold.com/blog .

Where the blog website is located.

but It isn't working for some reason.

Any suggestions?

link|improve this question
feedback

1 Answer

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 blog.whatever.com that points to the IP address of your server, and configure an HTTP Virtual Host on the server.

link|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 : blog.trimhold.com 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
feedback

Your Answer

 
or
required, but never shown

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