I currently have an ubuntu LXC installed on my proxmox server in order to setup a nextcloud service.
In order to do this I am following this learnlinux youtube guide here.
At 5:09 the guide mentions changing the hostname and hosts to include my ddns or domain name.
I have done the same and I have also configured the container so that proxmox doesn't change the settings by issuing the following commands
touch /etc/.pve-ignore.hosts
touch /etc/.pve-ignore.hostname
I have also opened the ports 80 and 443 to the container ipaddress on my router. The ddns service is also enabled on my router.
however when I try to access the Ubuntu Default Page using my ddns domain name it doesn't work. Although accessing the Ubuntu Default Page using the ip address of the container work.
Below is what my hosts and hostname configuration files currently look like.
In order to do this I am following this learnlinux youtube guide here.
At 5:09 the guide mentions changing the hostname and hosts to include my ddns or domain name.
I have done the same and I have also configured the container so that proxmox doesn't change the settings by issuing the following commands
touch /etc/.pve-ignore.hosts
touch /etc/.pve-ignore.hostname
I have also opened the ports 80 and 443 to the container ipaddress on my router. The ddns service is also enabled on my router.
however when I try to access the Ubuntu Default Page using my ddns domain name it doesn't work. Although accessing the Ubuntu Default Page using the ip address of the container work.
Below is what my hosts and hostname configuration files currently look like.
Last edited: