Followers

bloguez.com
Custom Search

Thursday, March 25, 2010

How to Add a Sub-domain to a Custom Domain in Enom

In this article I hope to explain how to get a sub-domain(s) for your custom domain.If you get your custom domain name through google/blogger.com and your domain host is enom ,then you can follow the steps below to get a sub domain for your custom domain.

For a example if we think your domain is "123.com" and you want to get sub-domain from this domain like "blog.123.com".

1.First login to your google apps account using below URL:

https://www.google.com/a/cpanel/123.com/DomainSettingsAdvancedDns

Note : Replace "123.com" with your domain name.Look at the example below:

https://www.google.com/a/cpanel/premiumbloggertemplates.com/DomainSettingsAdvancedDns

Now you can see a screen look like below one:



2.Sign in using your username and password.Next screen will look like this:



3.Click on "Sign in to DNS console".

4.Now login to your enom account using your Domain and Password.



5.Click on the 'Edit' button under the 'Host Records' section.



6.Click 'Add New'.



7.Add your sub-domain name, for example, 'blog' under the 'Host Name' field.

8.Add ghs.google.com. under 'Address' field.

9.Select CNAME (Alias) under 'Record Type' field.

10.Now again click 'Add New'.

11.Add 'www.blog' under the 'Host Name' field.

12.Add ghs.google.com. under 'Address' field.

13.Select CNAME (Alias) under 'Record Type' field.

Your final work will look like this:



14.Click 'Save'.

You are done with Enom.

15.Login to your blogger dashboard--> settings- ->Publishing

16.Now Click on "Custom Domain".



17.Now Click on " Switch to advanced settings".



18.Now you must enter your domain name as the picture below:



19.Now click on "Save Settings".

20.Again tick "Redirect blog.123.com to www.blog.123.com" and click on "Save Settings".



21.Wait few hours.You are done.

Note: Now try to go to your sub domain.If it works fine,no problem.But It still doesn't work,again "Switch to: blogspot.com (Blogger's free hosting service)".

Custom Domain Trouble

Moving from blogspot to Blogger custom domain is supposed to be an easy transition. I've tested it several times on my test blog and everything was fine... until I applied it to my actual blog. It showed 0 comments on all posts! grr...

As I mentioned last week I was just a few clicks away from moving to my own domain. I've set www as CNAME record pointed to ghs.google.com. and ran DIG service to look up information in the DNS. The result showed my domain already pointed to Google server:

www.alittleboysblog.net. 14400 IN CNAME ghs.google.com.
ghs.google.com. 184963 IN CNAME ghs.l.google.com.
ghs.l.google.com. IN A 74.125.43.121

HTTP trace on my blogspot blog also showed it was permanently redirected to new domain:
GET / HTTP/1.1
Host: evan-keona.blogspot.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Referer: http://www.rexswain.com/httpview.html
Connection: close

• Finding host IP address...
• Host IP address = 74.125.19.191
• Finding TCP protocol...
• Binding to local socket...
• Connecting to host...
• Sending request...
• Waiting for response...
Receiving Header:
HTTP/1.1·301·Moved·Permanently(CR)(LF)
Content-Type:·text/html;·charset=UTF-8(CR)(LF)
X-Frame-Options:·ALLOWALL(CR)(LF)
Location:·http://www.alittleboysblog.net/(CR)(LF)
Date:·Thu,·18·Mar·2010·04:49:46·GMT(CR)(LF)
Expires:·Thu,·18·Mar·2010·04:49:46·GMT(CR)(LF)
Cache-Control:·private,·max-age=0(CR)(LF)
X-Content-Type-Options:·nosniff(CR)(LF)
Server:·GSE(CR)(LF)
X-XSS-Protection:·0(CR)(LF)
Connection:·close(CR)(LF)
(CR)(LF)

So what was wrong? I googled it and apparently this problem already became "a known issue" on Blogger:
Some users are experiencing comment count discrepancies on their blog, specifically for older comments during the December-January timeframe. We have isolated the underlying problem though, and are working to release a fix shortly.

Also, if you have recently switched hosting from BlogSpot to a custom domain, it may take up to a few hours before the counts are synced completely (and this is expected). — latest update on Sunday, March 07, 2010

After more than 24 hours since the switching without progress (my old comments haven't showed up), this morning I switched back to blogspot, exported this blog to XML file and switched back to new domain. So to all of you who commented here, do not worry, your comments are save in my disk. I can restore them later should this problem continue.

I will wait for a few days (at least until weekend) to give time for Blogger to sync properly before deciding what to do. Meanwhile, I'm also preparing a WordPress blog for this blog so in case I can't get my comments back on Blogger I will transfer it to WordPress. Ironic, isn't it?

***

Update @7:40 PM:
Everything is fine now, I can see all comments are back. Maybe the process took longer than I thought. So if you experience similar thing when switching to custom domain, try to be more patient and don't hit the panic button too quickly like I did :)

Or you can try to switch back to blogspot then republish on custom domain again. I'm not sure if it can speed up the process but that's what I did this morning so who knows...

How to Understand the Domain of Functions

Domain
Domain

Is your instructor talking Greek when he talks about the domain of a function? This article will help explain domain in English.

Difficulty: Moderately Easy
Instructions
  1. Step 1

    First, let's understand real-valued functions. We can think of functions as sets of ordered pairs (or triples or n-tuples) or as special rules. For the sake of simplicity let's think of functions as rules. These rules pair one number to some input number or they pair one number to some list of numbers. Again for the sake of simplicity, let's limit our discussion to the case where the inputs are single numbers. Hence, a function is a rule that pairs a number with another input number. For example, the function y = 2x pairs a number with its double. If we put "in" 6 for "x," the function says y = 12. Hence, 12 is paired with 6. We write this pair as an (x,y) ordered pair: (6,12). Frequently, books let y = f(x) and then write f(x) = 2x. This gives us a notation for "putting in 6," which is f(6). The notation f(6) refers to the number that will be paired with 6 by the function. In this case, that number is 12; hence, f(6) is 12.

  2. Step 2

    Second, let's understand domain. A domain is a set of numbers associated with a function. Specifically, the domain of a function is the set of input numbers to which the function can assign a real value. In our example above where we have f(x) = 2x, the inputs include any real number since any real number has a double. Hence, the domain is the set of all real numbers.

  3. Step 3

    Third, let's think about a case where a rule might not be able to pair a number with a potential input. For example, let's consider a rule that pairs an input with its reciprocal, i.e., f(x) = 1/x. This rule would pair 4 with 1/4, 2/3 with 3/2, and -7 with -1/7. There is one number, however, that does not have a reciprocal. That number is zero. Since the reciprocal function cannot pair a number with zero, we call zero a restriction on the domain of the reciprocal function. Hence, the domain of f(x) = 1/x is all real numbers except zero.

  4. Step 4

    Fourth, let's recognize the three most common rules that restrict the domain. 1. Any rule that involves division might have domain restrictions. The reciprocal function above is an example. 2. Any rule that involves taking a square-root (or any even-numbered root) might have domain restrictions since the radicand of a square-root must not be negative. 3. Any rule that involves logarithms might have domain restrictions since the argument of a logarithm must be positive.

  5. Step 5

    Finally, let's find the domain of three specific functions with restrictions.

    1. Let's look at y = x/(x^2 - 4). This function involves division, and division is not defined whenever the divisor (the denominator) is zero. Hence, to find domain restrictions, we solve the equation below.

    x^2 - 4 = 0
    (x + 2)(x - 2) = 0
    x = -2 or 2

    These are x-values that will render the denominator zero, but a denominator of zero is not allowed. Therefore, the domain of this function includes any number other than -2 or 2.

    2. Let's consider f(x) = square-root(4-x). This function involves taking the square-root, requiring that the radicand be non-negative. Hence, to find the domain, we solve the equation and inequality below.

    4-x = 0
    -x = -4
    x = 4

    4-x > 0
    -x > -4
    x < 4

    Therefore, the domain of f(x) must be equal to zero or less than zero.

    3. Let's consider y = log(2x+5). This function involves a logarithm, but the argument of a logarithm must be positive. Hence, to find the domain, we set the argument greater than or equal to zero and solve as below.

    2x+5 > 0
    2x > -5
    x > -5/2

    The domain of y = log(2x+5) includes all real numbers greater than -2.5.

free counters