Jump to content

Subdomain Custom DNS via PHP


Lukeidiot

Recommended Posts

Hello.

 

I am currently working on a new site (http://sa.cx) that is basically a free domain like this: (example.sa.cx). My main goal is to allow users to set the the full MX, CNAME, A and SOA records.

 

Any ideas on how I could go about this using php?

 

My initial thought would be via cURL.

Link to comment
https://forums.phpfreaks.com/topic/248022-subdomain-custom-dns-via-php/
Share on other sites

If the only way you can set up sub-domains is through an online interface, you'll want to cURL to that online interface.

 

You may want to check/talk to your host. They may have a command line solution that will save you a bunch of ugly cURLs and them a bunch of pointless Apache processes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.