Hello, I have installed ispconfig panel in ubuntu 18.04. I want to redirect ip to hostname on my server. ex. enter my ip in url-bar "xx2.x1x.78.xxx" then they auto redirect to my hostname "host.myserver.com" . How can i do that?
You could for example write to /var/www/html/index.html file a HTML redirect to the URL you want. This works on Debian GNU/Linux 9.6 Stretch, should work on Ubuntu also. If not, find out what file is shown to you when IP-address is used in URL, and modify that file to redirect to the domain you want.