Hi everyone I'm a web developer and I've started admininstrating a small VPS for hosting some very small websites. For testing pourpose we need to create a third level domain, but I'm not shure about how to configure it. The server is running Debian stable with apache2. I've added a virtual host for third level domain:
<VirtualHost *:80>
ServerName thirdlevel.servername.foo
DocumenRoot /path/to/document/root
# some other apache config
</VirtualHost>
Now, in the control panel of my ISP (where I bought the domain) I've put those parameter for DNS configuration, and I have no idea if this is correct or not:
record type: A
name: servername.com.
value: 12.34.56.789 (real IP here, of course)
record type: A
name: www
value: 12.34.56.789
record type: CNAME
name: thirdlevel.servername.foo.
value: servername.foo
after some hours the last rule (which is the one i'm not sure about) was marked "active" but I still cannot access my website pointing thirdlevel.servername.foo thnks
Alessandro