Reliable and cheap hosting

How to Set Up Linux Apache Server

Chapter 7: Register and Configure DNS of a 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: YourDomain.com
IP Address of WAN: xxx.xxx.xx.x

The configuration of your domain should be:
YourDomain.com. IN A xxx.xxx.xx.x
www.YourDomain.com. IN A xxx.xxx.xx.x

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


NOTE:
  • 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


 

Training Center
Web Hosting
 
Copyright © 2000 MyGreatName