2016-03-19

I'm trying to add subdomain to my domain. I just installed httpd on my clean centos 7. At first I created file /etc/httpd/conf.d/htmltest.mydomain.com.conf with the following contents:

Also /www/sites/htmltest.mydomain.com/htdocs folder was created with index.html file inside. With this configuration my attempt to access htmltest.mydomain.com gives 'server DNS address could not be found' error in the browser. But mydomain.com opens htmltest subdomains index.html.
In my hosting CP dns settings there is mydomain.com with the htmltest 'A' record pointing to server IP, along with the www record.
How can I fix this?

UPD: I've changed domain to use vultr nameservers, and it works properly now.

Show more