I’m setting up devilbox on a VPS, so that my team can have a development server for our LAMP apps.
Now, I understand that creating virtual hosts accesible from your own local machine is easy: you just create subdirectories in your HOST_PATH_HTTPD_DATADIR, and they will be automatically available at your-subdirectory-name.TLD_SUFFIX (as long as you add that name in your local machine’s hosts file). But how do I make the virtual hosts available across the Internet?
I understand that first I’d have to add a DNS entry at, for example, “my website.mydomain.com” pointing at the VPS. But how do I configure the virtual host inside devilbox so that it responds to that DNS name? And what happens with devilbox’s own BIND server? Will it start answering queries for “my domain.com”, when it’s not listed as an authoritative DNS server for my domain? Will that cause any problems?