I've inherited the job of maintaining a linux web server (dedicated box) that runs CentOS 5.7 & Apache/2.0.63. the site's domain name was mistyped on setup and now that's strewn across the whole filesystem. I've tried editing named.conf and httpd.conf + .conf includes and restarting named, httpd and cpanel. that didn't work as cpanel still lists the domain with the typo in it. then went trough each of the files listed here. still a no go. any hints on how to do this?
root@svr [/etc]# grep -lir "mistypeddomain" * domainusers domainusers,v httpd/logs/error_log grep: httpd/logs/fpcgisock: No such device or address httpd/etc/httpd.conf httpd/etc/httpd.conf.ea-orig httpd/etc/httpd.conf,v httpd/etc/httpd.conf.datastore httpd/etc/httpd.conf.easyapache_save httpd/etc/httpd.conf.bak httpd/conf/httpd.conf httpd/conf/httpd.conf.ea-orig httpd/conf/httpd.conf,v httpd/conf/httpd.conf.datastore httpd/conf/httpd.conf.easyapache_save httpd/conf/httpd.conf.bak localdomains,v named.conf named.conf.cache proftpd/passwd.vhosts proftpd/passwd.vhosts.cache trueuserdomains trueuserdomains,v userdatadomains userdatadomains.stor userdomains userdomains,v vftp/passwd.vhosts vftp/passwd.vhosts.cache
I should point out that this is a live server so I'm limited as to what I can do to it in terms of shutdowns/reboots/etc.