Use Google to host your website : For Free! — Part TWO
In my last post, i wrote about why i chose to use Google blogger to host my website. Here are the basic steps to do so:-
- Create a blog on Blogger;
- Modify the blog design;
- Change configurations in your DNS settings (of the domain that you own) and that of the blog.
Now let’s tackle the steps in detail.
- Creating a blog on blogger is not very difficult, so i won’t describe it here. However, a step by step video tutorial on how to create a blog on blogger (aka blogspot) is present on Internet. However, why two names for a blogging platform? Beats me!
- Now, we are going to make our blog look like a website. Please follow the steps below to do so:-
- Logon to blogger.com using your ID and password;
- Under the heading “Manage Blogs”, click on “Design” for the blog that you want to change the design of (you will see many blogs under the heading if you maintain more than one blog using one user ID. However, makes me gape at the stamina of people who maintain more than one blog! However, i digress).
- Click on “Template Designer”.
- Choose a template by clicking on it. After doing changes, click “Apply to Blog”.
- Click “Back to Blogger”;
- Click “Posting”.
- Click on “Edit Pages”. Click “Leave this Page” (if a windows comes asking whether you want to save any changes on this page).
- Click on “Create a Page”.
- Provide a page title and page text for the page (e.g., page title could be “About Me” and page text could be a brief description about yourself).
- Click “Publish Page”.
- Now blogger will ask you the placement for page(s). Choose the “Blog Tabs” option.
- Click “Save and Publish”.
- That’s it! You now have a blog with website-ish look!
To create and add further pages, logon to your blog, go to “New Post”, click “Edit Pages”, then click “New Page” to add another page to your site.
Now, to the most important aspect of them all — how to configure your DNS settings so that everytime someone types www.yoursite.com, it takes them to yourblog.blogspot.com without changing the address in the address bar! Yes, that is very important (we are not doing any redirection here). But before that, let me put up my gyaan hat on and deliver some very boring lecture to you (you can skip it, but then i would come to know about it and would deliver a curse that all your close relatives will be turned into gyaan-vriksh and would treat you as wanting some free gyaan. You know the results of that, won’t you!).
Basically, everytime you type a website address onto your browser’s address bar, some things happen:-
- Browser would try to locate the IP address of the server where this site is stored (using some hocus-pocus known as name resolution in coordination with a group of servers called DNS Servers);
- Once IP address is known, the browser requests the server (@ that IP address) for the website (that you requested);
- The server sends a copy of the website to the browser, and the browser displays it to you.
Phew, some steps! So don’t blame your browser the next time it fails to show the latest pics of some celeb who wanted her 15 seconds of fame because India won the WC, because the server might have been the culprit.
Anyways, back to the topic (men are pigs, i tell you!). Now, here, google not only allows us to use its server for our blogs, it also allows us to tell everyone about their IP address (well, not strictly, just the host name; rest all is managed by google).
To do all this, you MUST have a valid domain name that is registered to you. If you don’t have one, you can use one of the many registrar sites that sell a domain name. Use one of the them to buy a domain name of your choice.
After you have bought a domain name, visit the google help center page that details how to publish your blog under your domain name. Follow the steps below once your reach the google help center page:-
- Select “Host my blog on a URL that i already own”.
- Select “on a top level domain (www.example.com).
- Now you have to add something known as CNAME. Another google support page for step-wise instructions on how to do that for your domain registrar.
- After you are done with adding the CNAME, you have to add some IP addresses to your “A Records”. If you don’t fill “A Records”, visitors who leave “www” from your site address while looking for it, will see an error page. Basically, you will find the “A Records” on the same page on your DNS Manager provided by your hosting service.You will need to create four “A Records” pointing to the following four different Google IPs:-
- 216.239.32.21
- 216.239.34.21
- 216.239.36.21
- 216.239.38.21
- After you add them, you have to save your zone file (there would a button on the hosting provider’s interface somewhere to save it). Wait for an hour or so before moving onto the next step.
- Now, logon to the blogger, and go to “settings” > “Publishing”.
- Click “Custom Domain”.
- Write in your new URL (www.example.com), and save your settings. If you do not enter the “www,” you will receive an error message.
- You are done!
Some helpful notes:
- If your new domain isn’t taking you to your blog, wait another day or two to make sure all the DNS servers have been updated. If it still isn’t working, contact your registrar to make sure you entered the DNS settings correctly.
- Your original BlogSpot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.