LXD, Debian 10 and local IP addresses

So I’ve setup Hestia in a Debian 10 LXD container with a very minimal install. The LXD host runs Debian 9 and does the firwall and port forwarding…

While the control panel loaded up fine, it look a bit of time to establish that I needed to add a second IP to the Hestia server in order for websites to load, even after setting up A records with the third party DNS server…

This is what I added to the “network” section as a second IP

IP. 
127.0.0.1
Netmask. 
225.225.225.0
Interface.
eth0
NAT IP.
200.10.178.121 or whatever is being used

And this is my install script…

sudo bash hst-install.sh -a yes -n yes -w no -o no -v no -j no -k no -m no -g no -x yes -z yes -c no -t no -i no -b no -q no -d yes -y yes -s hestiacp.domain.com -e [email protected] -p mypass

I thought I’d share in case anyone else ran into this…

2 Likes