Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Apr 20, 2015 4:18 pm 
Offline
Newbie

Joined: Mon Apr 20, 2015 3:16 pm
Posts: 2
Hi there,

as I'm looking here and there different server providers and before reading Linode's server API I would like to pose 2 questions in advance:

1) is it possible to automate the creation of subdomains with a script from a linux server?

Like client1.maindomain.com, client2.maindomain.com, etc. where maindomain.com has been added with the help of a DNS panel most providers do have,

2) even more, is it possible to automate also with a script the forwarding of client's domains bought say from GoDaddy so they can point to my virtual hosts in a linux server?

Say I want client1.com, client2.com, etc that point to my server's ip to be handled by specific virtual hosts in my server.

Thanks,
cent


Top
   
PostPosted: Mon Apr 20, 2015 7:01 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2015 8:12 pm
Posts: 101
Regardless of having an API for that (which I really don't know, sorry), you can always install your own DNS server (say, bind9) for that.


Top
   
PostPosted: Mon Apr 20, 2015 8:53 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
1 can be done via the API
2 would be within your VM, adding a virtual host to your webserver config or whatever. that's not something that'd be handled by linode's API, but it's definitely something that you could write code or script to do


Top
   
PostPosted: Tue Apr 21, 2015 2:10 pm 
Offline
Newbie

Joined: Mon Apr 20, 2015 3:16 pm
Posts: 2
glg wrote:
1 can be done via the API
2 would be within your VM, adding a virtual host to your webserver config or whatever. that's not something that'd be handled by linode's API, but it's definitely something that you could write code or script to do

:) Fine thanks!
Answer 1 opens some very interesting possibilities (comparing with what was able 5 years ago)...Now let's see what API has to say (curl based?)...
Answer 2 should be obvious to me! It's linode's DNS servers that do the work sending requests to client's box; the rest is handled by Apache's virtual hosts etc...thanks for your time.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group