Hey all, Long story short, I had to get a new domain name, sucks! Anyway, my old domain is located all over my server. For instance: Code: root@pebkac:/etc/ssh# hostname pebkac.mydomainInolongerhave.com How do I go about changing that to reflect my new domain name???? I know there is more than 1 place it needs to be done also???
Well i think it's a classic pebkac ;-) You could do a file content search for the string and edit those files. Good luck!
Sounds like a lot of fun! Try this: Code: grep -R yourdomain.com /etc > results1.txt grep -R yourdomain.com /var/www > results2.txt change each instance of yourolddomain.com to domain.com To change your host name: Code: hostname yourdomain.com edit your host file: Code: vi /etc/hosts Hope this helps -Rob