Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I bought a virtual server from Hetzner.

It has Debian 7.0 minimal installed, and I also installed Apache server using apt-get install apache2. That's about everything I did on the server. This URL works:

I have my domain registered on an unrelated registrar, and it allows me to set the name servers as displayed in this screenshot:

enter image description here

After doing some research it seems that I also need to set something called "A Host Record". I can't find any option to do this, do I need to set this on my domain registrar's side, or my server provider's side (Hetzner)?

share|improve this question
up vote 2 down vote accepted

Usually the service you registered the domain with will provide the DNS for that domain as well. Setting alternate name servers is more of an "advanced" feature if you are running your own DNS server or have an alternate DNS server already configured for your domain.

Set the DNS records (for which you provided an image) to the recommended name servers for the registrar.

Next you want to update the DNS records for your domain. You probably want to add an A host record as you mentioned:

example.com. IN A

And CNAME "shortcuts" which also point to that record:

www.example.com IN CNAME example.com.

Your registrar may have web-based tools to make this process simple.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.