Why don't you resolvida sub-domain?

The domain is registered Registrar's No. 1.
VDS server to another, with the first no connection.
VDS - VestaCP, it added the sub-domain, the domain browser appears, but loads the files from the root folder of the domain Vesta.
Why is not working and what else should I do?
*note, the primary domain works, with it problems
July 9th 19 at 13:35
1 answer
July 9th 19 at 13:37
Well, I think you need to configure:
1. NS-zone (do you actually a sub-domain is a subdomain of the 2-nd, 3-th, ... t-tsatogo level. )
2. To configure Apache (explicitly specify that the figures in this sub-domain are in that directory...)
I think that nslookup at the moment gives the same IP for the main domain and subdomain...?
Yes, the IP is the same, but does it have to differ? In VestaCP has a DNS entry for the subdomain folder on the server is also created for the site. Only one problem - DNS resolved on default web folder but not the folder of the subdomain. - jamie_Breitenbe commented on July 9th 19 at 13:40
And DNS knows nothing about your folders! It only specifies the path where to go for domain or subdomain... and then saw the config on the Apache level...! - eleanore.McCullough commented on July 9th 19 at 13:43
: hmm, I read the guides on Vesta - all told, the simple addition in the web solves the problem. How to check on the level of Apache whether he fulfills? - jamie_Breitenbe commented on July 9th 19 at 13:46
Judging by "...In VDS - VestaCP", I think, only by Naguib host in l-shaped position... It will be much faster! ;)
Repeatedly faced with situations when the problem is such a plan was precisely in the settings of the hoster! Some hosting providers, for example, when placing a sub-domain is recommended to migrate the NS record for their server... - eleanore.McCullough commented on July 9th 19 at 13:49
: already created a ticket, will see :) if that I will unsubscribe here - jamie_Breitenbe commented on July 9th 19 at 13:52
OK... ;) - eleanore.McCullough commented on July 9th 19 at 13:55

Find more questions by tags Vesta