How to Configure Sub Domain That Points to Another Host

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.



Comments

  1. 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!

    ReplyDelete
    Replies
    1. 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.

      Delete
  2. its make my knowledge increase . Thanks

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment