apache2 - setting up subdomain on ubuntu server - Ask Ubuntu
https://askubuntu.com/questions/463618/setting-up-subdomain-on-ubuntu-serverYou can check using ping subdomain.mydomain.com or nslookup subdomain. mydomain.com . If it's pointing to your IP address you're good.