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


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?
Enter the new domain?
Setup OK

Posted in Cpanel Server. Bookmark the permalink.