[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Web Hosting

manohar amrutkar

4/10/2007 6:28:00 AM

Hi,

Does ruby support to implement a web hosting website like
godaddy.com
or namecheap.com?


Is there are any APIs in ruby for Registration of Domain, Transfer
of
Domain?


If anybody know something please give reply me.


Thanks in advance.

7 Answers

Chad Perrin

4/10/2007 7:55:00 AM

0

On Tue, Apr 10, 2007 at 03:30:06PM +0900, manohar amrutkar wrote:
> Hi,
>
> Does ruby support to implement a web hosting website like
> godaddy.com
> or namecheap.com?

Uh . . . what? There are two meanings to this question that occur to
me immediately as possibilities:

1. You want to know if Ruby supports web development on one of these
webhosts.

2. You want to know if Ruby provides the ability to automate webhost
account registration programmatically.

My answers are:

1. It's not a question of what Ruby supports, but of what those
webhosts support. To my knowledge, GoDaddy's shared hosting accounts
do not support Ruby, though one may (or may not) be able to get
something running with a CGI eruby executable, if you can arrange to
edit .htaccess files. Other than that, I don't know enough about the
two hosts you mentioned to be able to answer in more depth. I do
know, however, that I'd never trust GoDaddy with my money and my
domains and website uptime.

2. Yes, it does, but that sounds like it's leading down a pretty
unethical path. Why would you need such capability for legitimate,
ethical purposes? I'm curious.


>
> Is there are any APIs in ruby for Registration of Domain, Transfer
> of
> Domain?

Good question. I don't know the answer -- but I doubt there's such a
thing in the core libraries, at least.

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
"The measure of a man's real character is what he would do
if he knew he would never be found out." - Thomas McCauley

Martin DeMello

4/10/2007 8:22:00 AM

0

On 4/10/07, Chad Perrin <perrin@apotheon.com> wrote:
> On Tue, Apr 10, 2007 at 03:30:06PM +0900, manohar amrutkar wrote:
> > Hi,
> >
> > Does ruby support to implement a web hosting website like
> > godaddy.com
> > or namecheap.com?
>
> Uh . . . what? There are two meanings to this question that occur to
> me immediately as possibilities:
>
> 1. You want to know if Ruby supports web development on one of these
> webhosts.
>
> 2. You want to know if Ruby provides the ability to automate webhost
> account registration programmatically.

Sounds more like

3. If I wanted to implement my own hosting site, could I use ruby to do it,

martin

manohar amrutkar

4/10/2007 12:00:00 PM

0

On Apr 10, 1:21 pm, "Martin DeMello" <martindeme...@gmail.com> wrote:
> On 4/10/07, Chad Perrin <per...@apotheon.com> wrote:
>
> > On Tue, Apr 10, 2007 at 03:30:06PM +0900, manohar amrutkar wrote:
> > > Hi,
>
> > > Does ruby support to implement a web hosting website like
> > > godaddy.com
> > > or namecheap.com?
>
> > Uh . . . what? There are two meanings to this question that occur to
> > me immediately as possibilities:
>
> > 1. You want to know if Ruby supports web development on one of these
> > webhosts.
>
> > 2. You want to know if Ruby provides the ability to automate webhost
> > account registration programmatically.
>
> Sounds more like
>
> 3. If I wanted to implement my own hosting site, could I use ruby to do it,
>
> martin

yes , i want to implement my own hosting website which will have
features like search domain,

domain name registration, transfer domain etc. Does ruby provides
scripts for these applications?

Is there any third party support for ruby APIs for such kind of
application? I have only two books

programming ruby and ruby on rails but they are not sufficient to
implement this hosting website.

Is there any tutorials do u know? please give me guidelines.

thanks .

John Joyce

4/10/2007 12:45:00 PM

0


On Apr 10, 2007, at 9:00 PM, manohar amrutkar wrote:

> On Apr 10, 1:21 pm, "Martin DeMello" <martindeme...@gmail.com> wrote:
>> On 4/10/07, Chad Perrin <per...@apotheon.com> wrote:
>>
>>> On Tue, Apr 10, 2007 at 03:30:06PM +0900, manohar amrutkar wrote:
>>>> Hi,
>>
>>>> Does ruby support to implement a web hosting website like
>>>> godaddy.com
>>>> or namecheap.com?
>>
>>> Uh . . . what? There are two meanings to this question that
>>> occur to
>>> me immediately as possibilities:
>>
>>> 1. You want to know if Ruby supports web development on one of
>>> these
>>> webhosts.
>>
>>> 2. You want to know if Ruby provides the ability to automate
>>> webhost
>>> account registration programmatically.
>>
>> Sounds more like
>>
>> 3. If I wanted to implement my own hosting site, could I use ruby
>> to do it,
>>
>> martin
>
> yes , i want to implement my own hosting website which will have
> features like search domain,
>
> domain name registration, transfer domain etc. Does ruby provides
> scripts for these applications?
>
> Is there any third party support for ruby APIs for such kind of
> application? I have only two books
>
> programming ruby and ruby on rails but they are not sufficient to
> implement this hosting website.
>
> Is there any tutorials do u know? please give me guidelines.
>
> thanks .
>
>
You could certainly do that stuff with Ruby. Why not?
But, if you expect it is all done for you by pre-written scripts,
you're sadly mistaken.
Much of the software used by web hosts (such as Fantastico and
cPanel) are expensive packages. You could write your own.
But I have to tell you that if you are serious about this, then
you're really not going to want to do this alone. Get several
partners. It's a lot of stuff to handle. But you need to learn about
DNS, BIND, TCP/IP, routers, firewalls, networking in general.
If you are planning to just be a reseller, a middleman, some hosts
already offer the software you need.
Scrounge around the sites of big ones like Verisign and Network
Solutions. This will give you an idea of what you are looking for.

Marcin Raczkowski

4/11/2007 7:46:00 AM

0

On Tuesday 10 April 2007 12:45, John Joyce wrote:
> On Apr 10, 2007, at 9:00 PM, manohar amrutkar wrote:
> > On Apr 10, 1:21 pm, "Martin DeMello" <martindeme...@gmail.com> wrote:
> >> On 4/10/07, Chad Perrin <per...@apotheon.com> wrote:
> >>> On Tue, Apr 10, 2007 at 03:30:06PM +0900, manohar amrutkar wrote:
> >>>> Hi,
> >>>>
> >>>> Does ruby support to implement a web hosting website like
> >>>> godaddy.com
> >>>> or namecheap.com?
> >>>
> >>> Uh . . . what? There are two meanings to this question that
> >>> occur to
> >>> me immediately as possibilities:
> >>>
> >>> 1. You want to know if Ruby supports web development on one of
> >>> these
> >>> webhosts.
> >>>
> >>> 2. You want to know if Ruby provides the ability to automate
> >>> webhost
> >>> account registration programmatically.
> >>
> >> Sounds more like
> >>
> >> 3. If I wanted to implement my own hosting site, could I use ruby
> >> to do it,
> >>
> >> martin
> >
> > yes , i want to implement my own hosting website which will have
> > features like search domain,
> >
> > domain name registration, transfer domain etc. Does ruby provides
> > scripts for these applications?
> >
> > Is there any third party support for ruby APIs for such kind of
> > application? I have only two books
> >
> > programming ruby and ruby on rails but they are not sufficient to
> > implement this hosting website.
> >
> > Is there any tutorials do u know? please give me guidelines.
> >
> > thanks .
>
> You could certainly do that stuff with Ruby. Why not?
> But, if you expect it is all done for you by pre-written scripts,
> you're sadly mistaken.
> Much of the software used by web hosts (such as Fantastico and
> cPanel) are expensive packages. You could write your own.
> But I have to tell you that if you are serious about this, then
> you're really not going to want to do this alone. Get several
> partners. It's a lot of stuff to handle. But you need to learn about
> DNS, BIND, TCP/IP, routers, firewalls, networking in general.
> If you are planning to just be a reseller, a middleman, some hosts
> already offer the software you need.
> Scrounge around the sites of big ones like Verisign and Network
> Solutions. This will give you an idea of what you are looking for.

Well, my company is working on this kind of solution, but we're using
http://www.dotandco.com/services/software/Net-DR... (perl) and writing
RPC interface to ruby (and rails).

Eleanor McHugh

4/11/2007 9:58:00 AM

0

On 10 Apr 2007, at 13:00, manohar amrutkar wrote:
> On Apr 10, 1:21 pm, "Martin DeMello" <martindeme...@gmail.com> wrote:
>> 3. If I wanted to implement my own hosting site, could I use ruby
>> to do it,
>>
>> martin
>
> yes , i want to implement my own hosting website which will have
> features like search domain,
>
> domain name registration, transfer domain etc. Does ruby provides
> scripts for these applications?
>
> Is there any third party support for ruby APIs for such kind of
> application? I have only two books
>
> programming ruby and ruby on rails but they are not sufficient to
> implement this hosting website.
>
> Is there any tutorials do u know? please give me guidelines.

The simple answer is 'no'.
I spent a large part of last year writing DNS provisioning systems
and to the best of my knowledge there are no available Ruby libraries
for doing this. It's not particularly difficult to roll your own
though, given a reasonable knowledge of one or more DNS servers, but
it will probably require a couple of months' investment of time on
your part.


Ellie

Eleanor McHugh
Games With Brains
----
raise ArgumentError unless @reality.responds_to? :reason



Marcin Raczkowski

4/11/2007 11:37:00 AM

0

On Wednesday 11 April 2007 09:58, Eleanor McHugh wrote:
> On 10 Apr 2007, at 13:00, manohar amrutkar wrote:
> > On Apr 10, 1:21 pm, "Martin DeMello" <martindeme...@gmail.com> wrote:
> >> 3. If I wanted to implement my own hosting site, could I use ruby
> >> to do it,
> >>
> >> martin
> >
> > yes , i want to implement my own hosting website which will have
> > features like search domain,
> >
> > domain name registration, transfer domain etc. Does ruby provides
> > scripts for these applications?
> >
> > Is there any third party support for ruby APIs for such kind of
> > application? I have only two books
> >
> > programming ruby and ruby on rails but they are not sufficient to
> > implement this hosting website.
> >
> > Is there any tutorials do u know? please give me guidelines.
>
> The simple answer is 'no'.
> I spent a large part of last year writing DNS provisioning systems
> and to the best of my knowledge there are no available Ruby libraries
> for doing this. It's not particularly difficult to roll your own
> though, given a reasonable knowledge of one or more DNS servers, but
> it will probably require a couple of months' investment of time on
> your part.
>
>
> Ellie
>
> Eleanor McHugh
> Games With Brains
> ----
> raise ArgumentError unless @reality.responds_to? :reason

I'm not sure what author of this tread is trying to acomplish, if you want to
make your own hosting company - just use soap interfaces to domain
registers - they are preaty good documented.

If you think about writing domain registration interface on your own - forget
it, you clearly don't have skills to do that.

As Ellenor said there's no "easy" and "free" interface in ruby (yet), so
either use one i posted earlier (it's preaty low level tho) or rethink geting
into webhosting buisnes

Marcin Raczkowski