M
M
misc12014-09-13 10:50:49
css
misc1, 2014-09-13 10:50:49

How to make subdomains automatically?

Hello. There is a website builder, you need to make domains like: toster.construct.ru, we have cloudflare as DNS, they have an api for adding records to DNS , the only problem is how to make apache create a subdomain? The server (vps) runs under Ubuntu, the service is in php.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Manuchehr Jalolov, 2016-09-01
@kinglostov

www.owlcarousel.owlgraphic.com
the instruction is clearly stated there!

P
Puma Thailand, 2014-09-13
@opium

add a new virtual host to the apache config and restart it.

A
Andrey Burov, 2014-09-13
@BuriK666

httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question