February 22, 2020 in Free Website Submission, Tips and Tricks, Ubuntu
how to map ip address to domain name in ubuntu
Setting your hostname: You’ll want to edit /etc/hostname with your new hostname. Then, run sudo hostname $(cat /etc/hostname). Setting your domain: Then, in /etc/resolvconf/resolv.conf.d/head, you’ll add then line domain your.domain.name (not your FQDN, just the domainname). Then, run sudo resolvconf -u to update your /etc/resolv.conf (alternatively, just reproduce the previous change into your /etc/resolv.conf). Both: Finally, update your /etc/hosts file. There should be at least one line starting […]






