|
Search |
The configuration of web server being finished, we are going to deal with the dns server (Domain Name Server BIND 8). The DNS protocol allows to find the Ip address of a hostname (For example: www.mydomain.com). We manage to find that way a web server on the Internet. For sure, it's the most difficult thing to set up on your server. A configuration error is not visible immediately due to a lot of caches hosted by ISP.
![]() ![]() We choose to create a new master zone, as your server will be used as a primary dns server ![]() We reach the following page, which displays the different types of possible records. ![]() First, we are going to use the "address" section to define all the names such as www.my-domain.com or mail.domain.com The minimal configuration would be as follows: warning! do not forget the "." at the end of each name ![]() We add a "mail server". This record indicates which server manages the domain mails that we are setting. The secondary dns server must also be indicated (server name section). At the same time, you must indicate the domain name to add on our secondary dns server ns.ovh.net. You must use the following form: DNS change. Now, you must reboot the dns server (bind) in order the modifications to be taken into account. Click on "apply changes" in the main configuration page of dns server. ![]() You host your domain your-domain.com by using in primary dns: ns1.your-domain.com and in secondary dns: ns2.your-domain.com and you want to host a new domain other-domain.com by using new primary dns and secondary dns on the same server that your-domain.com. The hosts allow you to personalize new names for your dns (ns1.other-domain.com and ns2.other-domain.com for example) Conditions
The first step: Define the host on your dedicated server, click on A icon. Example: ns.your-domain.com then the Ip of your DS, you can do the same manipulation to modify the ns.ovh.net (ns2.your-domain.net warning! the Ip will be 212.27.32.132) |