NameSilo

Programmatic subdomains

SpaceshipSpaceship
Watch

yeppers

VIP Member
Impact
109
Hey all,

Just wandering if anybody knew how to programmatically create a sub-domain, or had a few links to a tutorial.

I've heard some things about using the .htaccess file to do this, but am not sure how to programmatically create a subdomain, ie create a site like dot.tk which provides free subdomains instantly.

Thankyou.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
you mean like an API to create subdomains?
 
0
•••
yes thanks Amnezia.
 
0
•••
you need to create a script that will interact with your servers dns server to create them, this would very for each different dns server.
 
0
•••
you might wanna take a look at cPanel pro if you use cpanel, i believe it provides some sort of php interface
 
0
•••
Depending on what you want to do you might want to have a look at using DNS wildcards. It can save you a lot of haste fiddling with the name servers.
 
0
•••
Amnezia said:
you might wanna take a look at cPanel pro if you use cpanel, i believe it provides some sort of php interface

Yeah you just create a script which includes the cpanel username and password, allows it to " login " and create the subdomain directly.
 
0
•••
there are scripts for cpanel to do it.

PJ
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back