NameSilo

Programmatic subdomains

SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
you mean like an API to create subdomains?
 
0
Close
yes thanks Amnezia.
 
0
Close
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
Close
you might wanna take a look at cPanel pro if you use cpanel, i believe it provides some sort of php interface
 
0
Close
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
Close
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
Close
there are scripts for cpanel to do it.

PJ
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back