M
M
Maxim Volkov2019-04-09 10:07:48
Network administration
Maxim Volkov, 2019-04-09 10:07:48

How to create a site on a subdomain (subdomain) on a server with a BrainyCP panel?

I installed the BrainyCP panel on the VDS server, directed the domain to it and transferred the site. The site is working.
I'm creating a new site on a subdomain, a problem occurs, the site on the subdomain does not open, a message is displayed in the browser - Could not find the server's IP address .
The main domain, for example mydomen.ru , you need to place the site on a subdomain, for example direct .mydomen.ru , in the BrainyCP control panel I create a new site:
5cac4295a0df2746543961.jpeg
In the panel section - “Manage dns zones” - A-records appear for the newly created direct.mydomen .ru.
However, the site on the subdomain does not open.
What is the right way to create a website on a subdomain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Taran, 2019-04-09
@voland700

1. delegate ns to this server and make sure that bind9 works there (I don’t remember exactly if it’s brainy)
2. create a second a record inside the main domain,
for example
site.ru A 1.1.1.1
www A 1.1.1.1 (this is also a subdomain)
sub A 1.1.1.1

A
Alexander, 2019-04-09
@UPSA

This is a matter of primary and secondary DNS servers.
How did you direct? ))) Where sent there and it is necessary to prescribe A-records, but rather CNAME.
or on the VDS server, you still need to raise the DNS server. direct.mydomen.ru knows only your server, but it is necessary that the name be distributed (not quite correctly said) to other DNS servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question