Setup name server on vps

Issues related to configuring your network
Post Reply
kelaskakap
Posts: 1
Joined: 2015/02/10 05:06:43

Setup name server on vps

Post by kelaskakap » 2015/02/10 05:25:24

i have 3 domain names

Code: Select all

apple.com
grape.com
banana.com
i installed centos 7 minimal on my vps. i've only have one ip address (192.167.21.59). i have domain apple.com, and pointed it to my vps

Code: Select all

HOST NAME	IP ADDRESS/ URL	RECORD TYPE	MX PREF	TTL 
 	@ 	 	 	192.167.21.59 	A
 	www 	 	 	192.167.21.59 	A
i installed apache web server and enabled vhost for apple.com. and it's accessibled. i've also create vhost for grape.com and banana.com.
my question is how to setup name server on my vps, so another domain like grape.com and banana.com pointed to my vps using name server, example

Code: Select all

ns1.apple.com
ns2.apple.com
i hope someone is willing to guide me.
thank you.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Setup name server on vps

Post by aks » 2015/02/10 17:21:05


Post Reply