I've tried coding it in different ways, but no matter what I do it will not type "22.com".
I've found that trying to keystroke with a large number of characters is highly unreliable. It doesn't seem to wait for every character to be typed before returning. I'd suggest trying this workaround I've been using:
on keystroke_string_(keystr) tell application "System Events" repeat with _character in keystr keystroke _character end repeat end tell end keystroke_string_
That'll iterate through the characters, and press each one manually. I've found that this works nicely with any length of string.