Help - Search - Members - Calendar
Full Version: Renaming Plex 6 Server
The Planet Forums > Control Panels > Plesk
NeilN
It seems the default name of plain.rackshack.net is refused connection by some spam filters. So I plan to rename the server following the instructions in the Uber-Guide. There's already one website on the server. Any gotchas I should be watching for?
dedi_ensim
chnage hostname just do :

# pico /etc/hosts

change the line from plain.rackshack.net to sub.domain.com sub

# pico /etc/sysconfig/network

change the "plain.rackshack.net" part of the second line to "sub.domain.com" (should be same as /etc/hosts)

# hostname sub.domain.com

the last bit should be everything, open i new SSH window and you should now have user@root user at the command prompt icon_smile.gif

Chris
Dat
evet though I have changed what you have described above, I still have plain.rackshack.net at some point. when I receive a mail from plesk its all over...
dedi_ensim
you will have to close your ssh window and open a new window although it has worked for me.... type "hostname" from the command line (without the quotes) and the new name should be shown.

Chris
Dat
I just found out that the PTR record needs to be added by RS for mail.
mOjO_420
no matter what i seem to do (and i've grepped all over this system) I cannot seem to remove the "" from the subject line of the notification emails i get after client creation...

yes, i have changed the hostname. all is well on the system excpet for that annoying fact.

mOjO
dedi_ensim
im having the same problem mojo icon_sad.gif
mOjO_420
i fixed it!!!

CLICK HERE!!

i been up all night so that was a very lazy how-to... lemme know if u got questions.
SkyNet
QUOTE
Originally posted by mOjO_420
no matter what i seem to do (and i've grepped all over this system) I cannot seem to remove the ""  from the subject line of the notification emails i get after client creation...  

yes, i have changed the hostname. all is well on the system excpet for that annoying fact.

mOjO


When I first bought the new server I changed the the two network files and the misc-table (with phpMyAdmin) and also:

/var/qmail/control/me

After that, I havn't had any trouble with plesk.rackshack.net even though I receive

RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

In the error-log. Lucky for me, I don't use SSL icon_razz.gif
mOjO_420
you would need to regenerate your cert with the CN set to mydomain.com

the original CN is of course plesk.rackshack.net or plain.rackshack.net in my case... and as i mentioned i dont have any major problems either excpet the annoyance of the New Client creation notification emails being wrong.
dedi_ensim
how do you drop the database "psa", im not sure of the command and i cant seem to get into phpmyadmin anyway apart from going from the control panel, and then you can only have that specific username (unless im missing something icon_razz.gif )
mOjO_420
i will reply in the thread i linked to above about how to drop the psa database.
dedi_ensim
did you reply :-/
mOjO_420
yeah.. got busy for a while.. but i finally did...

http://forum.rackshack.net/showthread.php?...&threadid=29135
johnrm
Hi,

I don't think it's necessarily a good idea to drop the whole PSA database just to change 1 value.

I think the following is a better way. get yourself logged in via SSH, then do this:

1. mysql -u admin -p psa

##psa is the database##
##you will be prompted for a password, this will be your Plesk admin password##

2. whatever-your-password-is

##misc is the PSA table that holds the server name##
##at the mysql prompt enter the following##

3. update misc set val='whatever-you-want-to-call-your-server' where param='FullHostName';

##you will get a reply saying 1 record has been changed##

There is no need to dump the database and is only asking for trouble.

Good luck.
John
mOjO_420
thanks John... as i said before i'm not much for sql so i was sure theres a better way... i only did it that way because i didnt know the name of the parameter i was searching for so i dumped the whole database so i could search through it in VI... icon_biggrin.gif
dedi_ensim
dump and pico worked fine for me icon_smile.gif
johnrm
QUOTE
dump and pico worked fine for me


I'm sure it did...

But deleting and then reloading an entire database to change a single value just isn't necessary.
NightHawk
My hostname script has been updated to support plesk6 ..and it does change the db and the qmail settings as well.

http://forum.rackshack.net/showthread.php?...&threadid=20397
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.