Posted by ebrittwebb on January 12, 2009 at 8:26pm
Does anyone know how to embed a widget (or is there a Drupal Module) that will enable users to check for availability of domains?
I'm building a Drupal-based site on which users will request a new domain for their Drupal-based site. I'd like to determine availability of domains right from within my site, rather than sending them to a domain registrar.

Comments
phpWhois
To do whois lookups, I recommend starting with the Whois module and the phpWhois library. The existing Whois module might be a good starting point for the domain request and registration features you want.
Pick a registrar
Pick a registrar that has an API. I'm a big fan of NameCheap. I'd actually be interested in experimenting collaborating on a NameCheap module...
http://developer.namecheap.com/docs/
Registrars/Hosts with APIs?
Thanks for the helpful pointer to NameCheap. They have a nice set of functions for domains, nameservers, SSL certificates, etc.
Anyone know of other Domain Registrars and/or Hosts with decent APIs?
I'm working on a requirements doc right now for this piece of development. I'll keep y'all posted.
Erik Britt-Webb
drupal@ebrittwebb.com
Enom API
You need an Enom reseller account.
http://www.enom.com/resellers/overview_api.asp
Enom API class:
http://www.phpclasses.org/browse/package/3219.html
eNom is very good...
...it is also somewhat expensive to become a full reseller. Lowest price starts at $195 for setup, with domains being $10.95 / year at that level. With NameCheap, you just need to have $200 in your account, and domains would be $9.69.
Anyway, from an API perspective, definitely eNom is the big one. NameCheap is going to be friendler and slightly cheaper, and the API looks a bit simpler.
Hosting API
It sounds like maybe we approach this as an API (e.g., Hosting API), where we start with the simpler and less expensive route of tying into NameCheap and then extend it to also work with eNom as well.
Boris - I know you have a lot more experience with module development than I do. Do you (or anyone else) have a good template that you could share for defining the module specifications?
Erik Britt-Webb
drupal@ebrittwebb.com
Start with what you need
There isn't much in terms of a template other than clearly defining your needs, and breaking it down into must haves and nice to haves.
Rather than the path of madness that lies down the route of defining API APIs :P, let's start with needs.
Gimme a sec and I'll start a wiki page with this on it so we can all edit...
EDIT: Wiki up here. Hmm...I'm actually not convinced we shouldn't just use widgets for this UNLESS you want to get into some deep integration.
What's the difference
What's the difference between eNom and NameCheap? There doesn't seem to be much of a difference. It appears that NameCheap is a reseller of the eNom services.
Looking at the API docs for NameCheap compared to the description of the Enom API at phpclasses.org, it looks like they both pretty much offer the same thing. Anyone have experience with both products that can enlighten us all on the differences between the two products?
Yes, I'm on crack
NameCheap is an eNom reseller. They just happen to be really really good, especially at support and dealing with people with more modest domain registration needs. If you are going to do bulk registration, you could pay the setup fees and get cheaper prices...but then you'd have to be as good at dealing with domains as NameCheap is.
See here and here for a few more bits on eNom / NameCheap.
good to know, thanks
good to know, thanks Boris.
matthewm.org
matthewm.org
It's funny this came up as
It's funny this came up as I'm trying to find a good registrar that has a lot of DNS control via their control panel. I need to pull my domains from Hostway, which gave me an absolute screwing recently.
matthewm.org
matthewm.org
Updated Spec
I made a bunch of changes to the proposed spec.
Erik Britt-Webb
drupal@ebrittwebb.com
+1 also interested in this
+1
also interested in this for enom.
cheers,
tobias
Suitable Recipe?
@ebrittwebb, To answer your original question, you can use the whois module and I found another solution here.
All in One Virtualmin Solution
Recipe: Drupal + whois module + Ubercart + Virtualmin. Use whois + ubcercart to carry you through to the checkout. Upon checkout create the new hosting account through the Virtualmin API (is nice). All you are left with is registering your domains automatically. Virtualmin does have domain registry support through. Read the howto with virtualmin here:
http://www.virtualmin.com/documentation/id,domain_registration_with_virt...
Cheers
==============
Twitter: http://twitter.com/elvismcneely
Facebook: https://www.facebook.com/elvis.mcneely
LinkedIn: http://www.linkedin.com/in/elvismcneely
Company: http://www.lafayetteweb.com
Blog: http://www.elvisblogs.org
I've started working on a
I've started working on a module that can do just this. Currently only in CVS contrib as registrar_api. I'm hoping to have a proper dev release ready in a week or so. It only supports namecheap right now, but no reason it couldn't eventually do opensrs and others.
Has anyone made any progress on whois and domain ordering?
Hi everyone,
I am back looking for a whois -> domain order process that can be integrated with my Drupal site, preferably also with CiviCRM. Has anyone made any progress on this? Have suggestions?
Thanks,
Tobias
Opensrs just merged with
Opensrs just merged with afternic so i am looking into setting up opensrs api support though a new drupal site. Any progress of this? A quick search did not reveal any opensrs module having been developed at this point.
subscribe
subscribe
/Posted publicly so others
/Posted publicly so others can be aware/
Please don't post a subscribe comment. Groups.drupal.org has a "subscribe to this post" link under every node on the site (along with several other options). You should use the most appropriate one of those subscribe links.
knaddison blog | Morris Animal Foundation