I got a Centos 5 server setup for me through softlayer. They asked for a domain when setting it up.
Well now I want to change that because that domain has accounts and web files in a different location than where virtualmin hosts them all. I would like to have this original domain name be a part of virtualmin and just change it to something else for the overall server?
How do I do this and what needs to change?
I see there is /etc/hosts
127.0.0.1 localhost.localdomain localhost xxx.xxx.xxx.xxx www.domain.com www
Does this need to change? What else?
I tried changing just the host file above but when I try to access the domain it doe snot resolve(it worked fine for the other one)