HostOnNet Blog

Adding DNS Entry with /scripts/adddns

Today a client told his domain is not working after server move.

I have checked the domain on new server, found it is setup on Apache configuration file

/usr/local/apache/conf/httpd.conf

So i checked if DNS server resolves this domain. DNS server is not resolving this domain, so i added DNS entry for the domain with cpanel adddns script.

# /scripts/adddns
Add Dns 1.0 …
Warning, this only adds dns to the local server …
If this server is not the dns master, this will not work
Enter ip? 65.75.183.50
Enter the new domain? dedicatedsupport.info
Setup dedicatedsupport.info OK
#


Posted in Cpanel Server. Bookmark the permalink.