New answers tagged ubuntu
To get a website up at a domain name you need to follow these steps: Register the domain name. At the registrar, point the NameServer (NS) records to the domain name server (DNS) that will be handling the domain. On the name server, add records to resolve the host name to your server. Configure your web server to handle requests that come in for that ...
Look ubuntu documentation of Bind9 https://help.ubuntu.com/community/BIND9ServerHowto
Your host name also needs to be added to /etc/hosts in 127.0.0.1 section. If you haven't rebooted since editing /etc/hostname you also need to set the hostname using the hostname command. This normally happens at bootup from /etc/hostname. Here is a script that I use to make sure the host name is set correctly on my Ubuntu ec2 instance: #!/bin/sh set -e ...
Top 50 recent answers are included