fqdn help

ricostuart

New Member
Nov 30, 2023
2
0
1
I've got my proxmox server up and running, and have all the settings correct to use a fqdn on my lan using a domain I own. But, while all other servers on my network can be reached using their respective fqdn addresses, proxmox will not show the gui using its one. I have also set iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8006 so it does allow using the IP address without using the port to access the webui sucessfully.
Here are my current settings:

/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
10.32.0.2 proxmox.<MY.DOMAIN> proxmox

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/hostname
Code:
proxmox

/etc/resolv.conf
Code:
search <MY.DOMAIN>
nameserver 10.32.0.1

/network/interfaces
Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual
#LAN

iface enp3s0 inet manual
#WAN 2.5g

#LAN Bridge - Static IP
auto vmbr0
iface vmbr0 inet static
        address 10.32.0.2/24
        gateway 10.32.0.1
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0

#WAN Bridge
auto WAN
iface WAN inet manual
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0

IP -br -c a
Code:
lo               UNKNOWN        127.0.0.1/8 ::1/128 
enp2s0           UP             
enp3s0           UP             
vmbr0            UP             10.32.0.2/24 fe80::ba85:84ff:fea3:3fa/64 
WAN              UP             fe80::2e0:4cff:fe68:650/64 
veth101i0@if2    UP             
veth108i0@if2    UP             
veth103i0@if2    UP             
veth106i0@if2    UP             
veth107i0@if2    UP             
veth116i0@if2    UP             
tap100i0         UNKNOWN        
fwbr100i0        UP             
fwpr100p0@fwln100i0 UP             
fwln100i0@fwpr100p0 UP             
tap100i1         UNKNOWN        
fwbr100i1        UP             
fwpr100p1@fwln100i1 UP             
fwln100i1@fwpr100p1 UP             
veth112i0@if2    UP

ip route show
Code:
default via 10.32.0.1 dev vmbr0 proto kernel onlink 
10.32.0.0/24 dev vmbr0 proto kernel scope link src 10.32.0.2

ping -c4 $(hostname -f)
Code:
PING proxmox.<MY.DOMAIN> (10.32.0.2) 56(84) bytes of data.
64 bytes from proxmox.<MY.DOMAIN> (10.32.0.2): icmp_seq=1 ttl=64 time=0.064 ms
64 bytes from proxmox.<MY.DOMAIN>(10.32.0.2): icmp_seq=2 ttl=64 time=0.053 ms
64 bytes from proxmox.<MY.DOMAIN> (10.32.0.2): icmp_seq=3 ttl=64 time=0.053 ms
--- proxmox.<MY.DOMAIN> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2072ms
rtt min/avg/max/mdev = 0.053/0.056/0.064/0.005 ms

ping -c4 $(uname -n)
Code:
PING proxmox.<MY.DOMAIN> (10.32.0.2) 56(84) bytes of data.
64 bytes from proxmox.<MY.DOMAIN> (10.32.0.2): icmp_seq=1 ttl=64 time=0.064 ms
64 bytes from proxmox.<MY.DOMAIN> (10.32.0.2): icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from proxmox<MY.DOMAIN> (10.32.0.2): icmp_seq=3 ttl=64 time=0.053 ms
--- proxmox.<MY.DOMAIN>  ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2059ms
rtt min/avg/max/mdev = 0.052/0.056/0.064/0.005 ms