I recently setup local Ubuntu server to host VS Code and NGINX servers which work fine on codeserver (hostname) and can ping the hostname and IP address remotely. The problem I am facing is that I cannot ping new host created such as project.codeserver or codeserver/project remotely but can ping them while on the server.
In etc/hosts I have typed this 192.168.1.235 codeserver project.codeserver. I also turn off the UFW and same result appear so I think it something else that preventing me to ping the secondary host name.
Any chance someone point me the direction to how can I ping the secondary host remotely?