Rename/Change Main Domain

keefe007

Verified User
Joined
Dec 25, 2004
Messages
276
What's the best way to rename/change my main domain in Directadmin? This is the main admin domain with the nameservers and everything.

Keefe
 
You just need to make the necessary DNS changes and point the new domain to your DA Server's IP.

Then in the server, you may want to change the hostname - you do this via command line/console (SSH). you will find the hostname in /etc/hostname

Then in DA go to: http://<yourserver>:2222/CMD_ADMIN_SETTINGS and make the necessary changes in there.
 
And for changing the domain you must go to 'Domain Setup' (User Level) and click 'Change domain'.
 
You just need to make the necessary DNS changes and point the new domain to your DA Server's IP.

Then in the server, you may want to change the hostname - you do this via command line/console (SSH). you will find the hostname in /etc/hostname

Then in DA go to: http://<yourserver>:2222/CMD_ADMIN_SETTINGS and make the necessary changes in there.

Will this automatically rewrite everyone's zone file to reflect the new nameservers?
 
Will this automatically rewrite everyone's zone file to reflect the new nameservers?
I don't think so.

You may need to edit the nameserver lines manually. When you do, don't forget that some domains may not use your nameservers (some clients may set up their own nameservers).

The easiest way to do it would be to write a perl one-liner, documentation in lots of places, including unix.com.

Jeff
 
Back
Top