You can now run different PHP versions per project: Release v3.0.0-beta-0.1
6. Add custom CNAME DNS entries¶
You can add an infinite number of custom CNAME records that will be available in your running Docker container. If Auto-DNS is turned on, those records will be available on your host operating system as well.
Table of Contents
This might be useful if you have an IP address or hostname on your LAN or any other domain which you want to expose to your container by a different CNAME of your choice.
Think of it as setting your
/etc/hosts, but which will be distributed accross all hosts which
are using the Devilbox’ bundled DNS server.
Adjust the EXTRA_HOSTS variable inside
.env to add as many CNAME’s as you need.
As an example, to create a CNAME
mywebserver.com pointing to
172.16.238.1, change your
.env file as shown below:
See EXTRA_HOSTS for an in-depth explanation with multiple examples.