A
A
Andrey Silaev2015-02-20 02:46:00
Domain Name System
Andrey Silaev, 2015-02-20 02:46:00

How to set up a server to automatically add domains?

Hello, in general, the task is this: the server has its own DNS, you need to send a lot of domains to this server.
We registered domains, registered DNS for everyone, and all these domains open the default site (by default on the server).
But the main thing is that you don’t have to add each domain manually to ISPmanager. Those. they don't need to be added at all, they should automatically open the default site.
Specified mirrors "*" in settings.
And everything works, with only one condition: if you delegate a new domain, it does not work. Then you add a domain to ISPmanager, then immediately delete it - and now it opens the default site.
And if you do not add a domain to the manual, nothing happens. The domain is not pinged.
Tell me what can be done?
This is necessary for the site builder so that the user can connect their domains to their sites.
System: VDS / ISPmanager Lite / Cent OS 6.5
VISIBLY NO ( Well, at least tell me, maybe someone knows how to add new mirrors for a domain in ISP Manager via PHP

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-02-20
@ShamblerR

Open the virtualhost generator, see what is written there, read that you are in a state?
In the end, stupidly copy the config of the generated site, and copy them regularly changing domains, everything is very simple in my opinion.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question