DYDAS Professional Website Design

How To Register Domain Names Through Cell Phone Text Messages

By on September 25, 2008

Michael from DomainRaiders has an interesting tutorial to share with us today.  Yes, it is possible to register a domain name virtually instantly with a simple text messaging service!  He wanted me to share it with DotSauce readers and I am happy to oblige.  Enjoy…

Have you ever been away from your computer (eek!) and thought of the perfect domain to register?  If you don’t have a smart phone, or your registrar is impossible to use on a mobile, then I have the perfect solution for you.  After five minutes of set up, you’ll be able to register a domain at Dynadot by sending a simple text message.  If you don’t have a Dynadot account, create one before you get started.  If you have one but it doesn’t have any pre-paid credits, go add some.

Step 1: Register a keyword with TextMarks.com.

TextMarks allows you to register a keyword for their short code, 41411, and allows you to have a custom script receive the data.  I’ll be using “txtreg” for this example, but there are plenty of other good ones available.  Just pick something you’ll remember in the heat of registration.

When you go to the site, click the “Create” tab at the top.  Pick your unique keyword, in my case I’m doing “txtreg”.  In the second part of the form, select the radio button next to “Respond to a keyword with text from a web page”.  In the URL text field, put “http://www.yourdomain.com/regg.php?user=\p&req=\0”.  That’s a zero on the end, not the letter O.  Replace yourdomain.com with the domain name you will be uploading the processing script to.  Now click the “CREATE” button.

The next step will ask you to create an account at TextMarks.  You’ll enter your phone number, user name, and email address.  Make sure the phone number is valid, as they’ll send your temporary password to your cell phone so you can log in.  Once you’re done with that, you’re ready for Step 2.

Step 2: Modify and upload the processing script.

Go to http://idevlabs.com/regg.phps to view the script.  Copy and paste everything into Notepad or a similar text editor, and save the file as “regg.php”.  Now in the script, modify the following:

  • Change $dynadotUser to be your Dynadot user name.  If your user name is Domainer123, that line should read: $dynadotUser = “Domainer123”;
  • Change $dynadotPass to your Dynadot password.  If your password is 12345, that line should read: $dynadotPass = “12345”;
  • Change $phone to your cell phone number that you want to be able to use this script from.  It will only work from the number you specify.  Also, you must put your country code in front of the number.  If your phone number is 555-555-5555 and you are in the U.S. (country code is “1”), the line should read: $phone = “15555555555”;
  • Change $pass to be a short password you will send in the text message.  This is for added security.  If your password for the app is 597, that line should read: $pass = “597”;

Now save the script again, and upload it to the server you specified when you set up the short code keyword in Step 1.

Step 3: Register some domains like a pro… through text messaging.

OK, so to recap, the short code is 41411, the example keyword is “txtreg”, and the example short pass is 597.  All you have to do is send the following text message to 41411:

txtreg Domain.ext 597

The script will shoot you back one of three messages: “The domain was registered.”, “The domain was not available.”, or “You are not authorized to access this application.”  The first two are self-explanatory.  If you receive the third message, you are either trying to access the service from a phone that you didn’t register in the script (or you entered the number incorrectly in the script), or you entered the wrong password in the text message.

This script supports the following TLDs: com, net, org, info, biz, mobi, tv, co.uk, asia, me, name, ws, us, cn, cc

This article re-printed with permission from DomainRaiders.com


About Mark Fulton

Mark is the Founder of DotSauce Magazine and a full time web developer, domain investor, SEO and online marketing professional residing in North Carolina, USA. Visit MarkFulton.com for information on freelance website development, SEO and consultation services.