How to Configure Sub Domain That Points to Another Host

Sunday, January 22, 2012 4 Comments A+ a-

Blogger do not allow to attach non-image files (at the moment). Here I will explain to point your sub domain to another host. Earlier I was using Google Docs to upload non-image files. But now I have setup sub domain to another host, so I can put my all files at lab.bitspedia.com. There are following benefits of this approach:

1. You can put your files/attachments for users to download. The links that points to your downloadable resource would belong to your own domain.

2. Sometime we want to show working example of code. For example you may want to attach a running JSP/Servlet page. With Blogger and Wordpress, it is not possible. So what you can do is, put your dynamic resources in sub domain.

So how to configure sub domain? You just need to put an A RECORD entry into your blog DNS. And configure the sub domain under Tomcat or Apache.

For example, when I configured lab.bitspedia.com ... my domain settings looks as follow:

See demonstration if your name server provider is GoDaddy:



Configure Sub Domain That Points to Another Host from Asif Shahzad on Vimeo.

Here is what I put in my Tomcat configuration.



4 Comments

Write Comments
Derrick Lin
AUTHOR
July 27, 2013 at 6:45 AM delete

Hi,

I have a blog on blogger too, custom domain under godaddy www.packagingoftheworld.com. I would like to point directory.packagingoftheworld.com to another server hosted with hostgator,what should i do?

Thanks!

Reply
avatar
Asif Shahzad
AUTHOR
July 31, 2013 at 3:15 AM delete

You need to add A-Record into your DNS settings. But I can understand, it may be difficult to do first time. So ... I see your registrar is GoDaddy, I have made a demonstration for you. See the video I have added above.

Reply
avatar
Rabeet
AUTHOR
November 22, 2013 at 11:09 PM delete

its make my knowledge increase . Thanks

Reply
avatar
Eun Jung
AUTHOR
May 15, 2015 at 8:21 PM delete This comment has been removed by a blog administrator.
avatar