[HowTo] Change the main domain name - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Howtos (/forum-41.html) +--- Thread: [HowTo] Change the main domain name (/thread-13054.html) |
[HowTo] Change the main domain name - koko92_national - 03-13-2011 09:09 PM Hi I've had a situation that i had to change the domain name that access the ISP. Here is how i've change it: Code: #nano /etc/apache2/sites-available/00_master.conf Find admin.{DOMAIN} where {DOMAIN} is your out of date domain name. and replace with admin.{DOMAIN_2} where {DOMAIN_2} is your new domain name. Ctrl + O; Ctrl +X; Code: #mv /var/cache/bind/admin.{DOMAIN}.db /var/cache/bind/admin.{DOMAIN_2}.db Find and replace everywhere {DOMAIN} with {DOMAIN_2} Ctrl + O; Ctrl +X; Code: #nano /etc/bind/named.conf Find Code: // dmn [admin.{DOMAIN}] cfg entry BEGIN. and replace with Code: // dmn [admin.{DOMAIN_2}] cfg entry BEGIN. Ctrl +O; Ctrl + X; Code: #nano /etc/ispcp/ispcp.conf Find Code: BASE_SERVER_VHOST = admin.{DOMAIN} and replace it with Code: BASE_SERVER_VHOST = admin.{DOMAIN_2} Ctrl +O; Ctrl + X; Code: #/etc/init.d/bind9 restart Tested on ISPCP OMEGA 1.0.3 and works like a charm. |