T
T
TheMarser2014-11-06 16:07:26
PHP
TheMarser, 2014-11-06 16:07:26

How to add an A-record automatically (php)?

I need to add an A-record to DNS, but not manually, but automatically, preferably through php. CPanel is installed on the hosting, the hosting itself is VPS, so you can run any program, the OS is CentOS.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melkij, 2014-11-06
@melkij

Where are your DNS?
Kick the service through the API. If there is no API, move to where the API is. You can start with this list: habrahabr.ru/post/203292

T
Terminaft, 2014-11-06
@Terminaft

And what are you doing? If it’s custom subdomains, then you can simply make sure that all requests from subdomains are redirected to the main domain, and there, using the router, recognize them and give the desired content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question