B
B
BlagoYar Silence2021-10-08 00:11:10
linux
BlagoYar Silence, 2021-10-08 00:11:10

How to set up a subdomain in Debian from scratch?

There is such a situation
The main domain and some subdomains (for example - mysite.ru, subdomen1.mysite.ru) are on the same hosting. Management via ISP Manager.
DNS is managed through CloudFlare.
There is a second hosting (pure Debian 10.10; no control panel), you need to send two subdomains (subdomen2.mysite.ru and subdomen3.mysite.ru) to this hosting.
How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-10-08
@ky0

You add A-records to the DNS hosting panel, configure the web server to process the necessary names, issue certificates... standard procedure.

D
Drno, 2021-10-08
@Drno

For simplicity, take the apache2 web server and configure virtualhosts there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question