Setting Up Linux Web Server | Affordable Web Hosting Plans | Cheap Domain Name Registration

How to Set Up Linux Apache Server

Page 7: Register and Configure DNS of Domain

In order that people can find your website, you need to register a domain. After you registered a domain, you need to configure the records (zone files) of your domain so that the domain can point to your server.

Since we are only set up a webserver in this tutorial, you only need to configure the 'A' record of your domain.

For example, if the domain name and IP address are:

Domain Name:
IP Address of WAN:

The configuration of your domain should be: IN A IN A

Now, when people type your domain name in the url of browser, the browser will run to your webserver and display the webpages.


  • We will discuss the IP Address of WAN in the next few chapters. Chapter 17 will show you how to get the WAN IP address.
  • Please check our tutorial for DNS setting if you don't know what is a 'A' record
set up linux web server