Hi, i'm having a problem with the configuration of two virtual host in an apache web server. The IP of my web server is 192.168.1.20 and the 2 domains are
support.domain.com and
documentation.domain.com. In my local DNS the configuration for these domains are as follow. The 2 domains point to the web server correctly, but the problem is that in the virtual host configuration in apache the 2 domains are using only one of them, i mean, both domain point to the same virtual host. I think the problem is because one of the domains is configured with a CNAME record that uses the other domain name and apache sees it like the same, i just want to be sure since i'm not the one that administrates the DNS. Thanks for any answer i may get.
Quote:
user@server:~$ host -a support.cvgin.com Trying "support.domain.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60862 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;support.domain.com. IN ANY ;; ANSWER SECTION: support.domain.com. 38400 IN CNAME documentation.domain.com.
|
Quote:
user@server:~$ host -a documentation.domain.com Trying "documentation.domain.com" ;; QUESTION SECTION: ;documentation.domain.com. IN ANY ;; ANSWER SECTION: documentation.domain.com. 38400 IN A 192.168.1.20 Received 147 bytes from 160.100.1.208#53 in 2 ms
|