Current time: 11-25-2024, 02:03 PM Hello There, Guest! (LoginRegister)


Post Reply 
change default domain
Author Message
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #1
change default domain
Hello all,

I just need to ask what i need to do if i want change hostname on my server.

I use ISPcp 1 month on my server on : old_domain.com
and after testing and now there is some running clients, so i need to change server name on : new_domain.com

What i have to do to change it?

I try just change server hostname and also change hostname in ispcp.conf
But when i do : perl ispcp-update
In config files i have back my : old_domain.com

Any help ???

Thanks
I did :

/etc/hostname <-- hostname
/etc/hosts <-- IP table + hostnames

then

# cp /etc/hostname /etc/mailname

Now you must open /etc/ispcp/ispcp.conf. There you must change the server_name and base_server_vhost.

Now, you can open phpmyadmin and log in as root.

Open the table server_ips. Change here the server name.

Then open /etc/postfix/main.cf

Change here myhostname and mydomain.

Now restart postfix and hostname.sh.

But thats not ALL , i dont realy know what else i have to do. Please help.
(This post was last modified: 03-17-2010 11:52 PM by sakal.)
03-17-2010 11:15 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
change default domain - sakal - 03-17-2010 11:15 PM
RE: change default domain - joximu - 03-18-2010, 09:48 PM
RE: change default domain - sakal - 03-18-2010, 10:01 PM
RE: change default domain - joximu - 03-19-2010, 03:23 AM
RE: change default domain - kilburn - 03-19-2010, 06:21 AM
RE: change default domain - sakal - 03-20-2010, 05:17 AM
RE: change default domain - kilburn - 03-20-2010, 08:27 AM
RE: change default domain - Nuxwin - 03-20-2010, 02:48 PM
RE: change default domain - sakal - 03-20-2010, 07:19 PM
RE: change default domain - kilburn - 03-21-2010, 08:08 PM
RE: change default domain - joximu - 03-21-2010, 08:26 PM
RE: change default domain - sakal - 03-22-2010, 10:46 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)