Help - Search - Members - Calendar
Full Version: How-To set your Hostname
The Planet Forums > System Administration > HOWTOs
Pages: 1, 2, 3
NightHawk
Ok...here is the easy way to change your hostname...this script has been tested on plesk, ensim, plainredhat, and even cpanel servers...but should work on most any redhat linux cp.

***Please note....it is advisable to ensure that your choosen hostname resolves to your server before continuing

1) login to your server via ssh
2) su -
3) wget http://ezsm.net/hostname.sh
5) sh hostname.sh
6) answer the questions
7) done.

For more information on this script, including step by step for the plesk reconfigurator, please:Click Here
bishop4351
sweet
It covers ensim plesk(sh and rpm) plain and cpanel extreeemly nice
also like the disclaimer too
now to tear apart his code and see how clean it looks.
NightHawk
QUOTE
Originally posted by bishop4351
sweet
It covers ensim plesk(sh and rpm) plain and cpanel extreeemly nice
also like the disclaimer too
now to tear apart his code and see how clean it looks.


Ty...and please do...let me know if you find anything I can change to make it better...that's why it is here cool.gif
bishop4351
Sorry it took me so long I took a little getaway this weekend. But your scripting is very functional and pretty too. I've go no problem know where you're going with any of your statments.
TAT
Bravo !!
Outofmymindyo
NightHawk I get the following error when using the script on a Plesk server

QUOTE
/usr/local/psa/bin/reconfigurator.sh: [: 207.44.238.227: integer expression expected


Do you know why this is happening? And the IP entered is the one listed in the error.
NightHawk
QUOTE
Originally posted by Outofmymindyo
NightHawk I get the following error when using the script on a Plesk server

 

Do you know why this is happening? And the IP entered is the one listed in the error.


did you put a space in front of your ip#? that is what it looks like to me....

make sure you have no extra spaces before or after your ip#.


hrm...was unable to replicate the error on a plesk rpm box....please let me know if it was just a extra space or not.
Outofmymindyo
Alright, will go test it now.
Outofmymindyo
No I still get the same error and there are no spaces before the IP that I am typing in. I even tried hitting backspace before typing it, after typing it, and after the IP in the Shell window.
NightHawk
QUOTE
Originally posted by Outofmymindyo
No I still get the same error and there are no spaces before the IP that I am typing in. I even tried hitting backspace before typing it, after typing it, and after the IP in the Shell window.


strange....that error looks like it is coming from the reconfigurator itself ...which is just being launched by my script at the end.....try running that command by itself...see if that gives you the same error:

/usr/local/psa/bin/reconfigurator.sh
Outofmymindyo
Here is as far as I get with the script.

QUOTE
   PSA is ready for reconfiguration.
   Please note that PSA utilizes your version file to verify
   that you are performing a correct software reconfiguration.
   Do you really want to proceed? [N] y

Checking whether this Linux uses shadow passwords... Ok


Now you will be asked several questions.
Don't worry about mistakes.
Script will give you the chance later to correct any input.

It's necessary to know e-mail address of Plesk administrator
Please don't use mail address of the root on this system,
this is one restriction of Qmail system

Enter psa administrator e-mail address: EFerguson4@nc.rr.com

Enter full hostname of this machine [srv01.cooperativedesign.net]: srv01.cooperativedesign.net

Enter domain name [cooperativedesign.net]:cooperativedesign.net

Host's networks interface(s) has(ve) the next assigned IP addresses:

1) 207.44.238.3

Which one IP would you like to use for name-based virtual hosting? [1] 207.44.238.3
/usr/local/psa/bin/reconfigurator.sh: [: 207.44.238.3: integer expression expected

Which one IP would you like to use for name-based virtual hosting? [1]
NightHawk
QUOTE
Originally posted by Outofmymindyo
Here is as far as I get with the script.


ok...this is a problem with the input you gave the plesk reconfigurator....just enter 1 ...not the whole thing. (no [ ]'s either).

(here is how that looks, the part in bold is the only part your type.)(from http://ezsm.net/howto/hostname.html )

Host's networks interface(s) has(ve) the next assigned IP addresses:

1) main server ip
2) ip 2
3) ip 3
4) ip 4
5) ip5

Which one IP would you like to use for name-based virtual hosting? [1]1
Outofmymindyo
Nighthawk, I never even though about this before, but when I had my server switched to Plesk from Ensim, does it delete the other 2 IP's I had added to my account while I was using Ensim?
NightHawk
QUOTE
Originally posted by Outofmymindyo
Nighthawk, I never even though about this before, but when I had my server switched to Plesk from Ensim, does it delete the other 2 IP's I had added to my account while I was using Ensim?


You need to add those other ip's into the plesk cp..server button...ip aliasing.....they actually will then show up in ifconfig..(like normal ip's)...unlike the ensim where ifconfig only shows the one ip#.
Outofmymindyo
Does this look particularly correct for my nameservers?

QUOTE
cooperativedesign. net. .   NS   ns1. cooperativedesign. net.    

cooperativedesign. net. .   NS   ns2. cooperativedesign. net.    

ns1. cooperativedesign. net. .   A   207. 44. 238. 227    

ns2. cooperativedesign. net. .   A   207. 44. 238. 228    

cooperativedesign. net. .   A   207. 44. 238. 3    

webmail. cooperativedesign. net. .   A   207. 44. 238. 3    

ftp. cooperativedesign. net. .   A   207. 44. 238. 3    

mail. cooperativedesign. net. .   A   207. 44. 238. 3    

cooperativedesign. net. .   MX 10 mail.cooperativedesign. net.    

204. 44. 238. 3/24   PTR   cooperativedesign. net.
NightHawk
QUOTE
Originally posted by Outofmymindyo
Does this look particularly correct for my nameservers?


You might want to take your question on plesk dns to the plesk dns forum.....instead of the how-to forum.....
jaredweb
The settings look correct to me. If you need someone to look at all the setting and troubleshoot it if it isn't working I'd be glad to take a peek for you. I just setup my nameservers a couple weeks ago and they're perfect.
christyle
it worked perfect for me. thanks a lot.
NightHawk
QUOTE
Originally posted by christyle
it worked perfect for me. thanks a lot.


Great...glad it helped.
NightHawk
QUOTE
Originally posted by NightHawk
Ok...here is the easy way to change your hostname...this script has been tested on plesk, ensim, plainredhat, and even cpanel servers...but should work on most any redhat linux cp.

***Please note....it is advisable to ensure that your choosen hostname resolves to your server before continuing

1) login to your server via ssh
2) su -
3) wget http://ezsm.net/hostname.sh
5) sh hostname.sh
6) answer the questions
7) done.

For more information on this script, including step by step for the plesk reconfigurator, please:Click Here


Now updated to properly update hostname on plesk6.* boxes...due to plesk removing reconfigurator.
cdphoto
question ???

you mention

you
QUOTE
***Please note....it is advisable to ensure that your choosen hostname resolves to your server before continuing


so if I name my box info.mydomain.com

(can I call it anything I want as long as it uses a domain I have on the server)

how would I make sure it resolves or does it matter what I call the box ???

I am on Plesk6

sorry if this is a silly question to some icon_wink.gif
NightHawk
QUOTE
Originally posted by cdphoto
question ???

you mention

you  

so if I name my box info.mydomain.com

(can I call it anything I want as long as it uses a domain I have on the server)

how would I make sure it resolves or does it matter what I call the box ???

I am on Plesk6

sorry if this is a silly question to some icon_wink.gif


You can name your box any sub.domain.com you want...as long as you can make that sub.domain.com resolve to your servers main ip# (ie: have an A record in your dns, that looks something like this:
sub.domain.com in A 123.123.123.123 , where 123.123.123.123 is the main server ip#.)

Hope that helps. cool.gif
cdphoto
Thanks icon_wink.gif
def helps out

updated the DNS under the domain that I used to name my server to read as below

info. mydomain. com. A 66. 98. 128. 82



I also figured it wont be needed in the main template for each domain ???
only the happyfish.com domain should need it ???
is this correct ??

again a big mahalos to ya icon_wink.gif
NightHawk
QUOTE
Originally posted by cdphoto
Thanks icon_wink.gif
def helps out

updated the DNS under the  domain that I used to name my server to read as below

info. mydomain. com.   A   66. 98. 128. 82



I also figured it wont be needed in the main template for each domain ???
only the happyfish.com domain should need it ???
is this correct ??

again a big mahalos to ya icon_wink.gif


yes, only the domain that the subdomain is part of would need the A record....

of course..just adding the A record to your plesk server will only work if you are running your own nameservers. If you are using RS nameservers, you might want to login to the memebers area and put the A record in with them.
cdphoto
dang that was fast icon_wink.gif response

heheheheheh
yeah I am running my own DNS icon_wink.gif

again Mahalos if come to Maui email me
so I can owe ya a MaTai or a coffee icon_wink.gif whatever your poison is
NightHawk
QUOTE
Originally posted by cdphoto
dang that was fast icon_wink.gif response

heheheheheh
yeah I am running my own DNS icon_wink.gif

again Mahalos if come to Maui email me
so I can owe ya a MaTai or a coffee icon_wink.gif whatever your poison is


No problem....I just happened to be here...hehe

And ty much....

as for Maui....sounds like a great idea....but the wife would love that vacation...cool.gif
AC Design
The following part of the script is not seeming to work for me (Plesk 6, dual-xeon)....

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "update misc set val='$HOST' where param='FullHostName'"

I was getting some errors in my logs:
[warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?


.....which prompted me to check some other threads about plesk hostnames, and found a thread that told how to dump the PSA database (I didn't drop it though, as NightHawk advised against that).... I dumped a copy though and found this line still inside the database:

INSERT INTO dns_recs VALUES (2,0,'PTR','xx.xx.xx.xx','plain.rackshack.net.','24',20030807140236);

I ran the command I mentioned above again (with the hostname written in place of $HOST), but it still didn't change even then.

Anyhow, any clue on what to do?
NightHawk
QUOTE
INSERT INTO dns_recs VALUES (2,0,'PTR','xx.xx.xx.xx','plain.rackshack.net.','24',20030807140236);  


ok..that's just a ptr record in your dns...don't worry about that...it won't do anything for you..as RS controls the ptr's not your box.


QUOTE
I was getting some errors in my logs:  [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)  [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?  


As for the cert errors, I would suggest starting with generating a new self-signed cert for your server level cert (ie: the cp cert). That might clear that out.
AC Design
thanks....
I added the self signed certificate in plesk's panel... though the error is still present - if possibe, can you point me to further info on doing this properly? Also do I need to delete the cert that plesk had by default? (I didn't delete it yet, since I wasnt sure I was supposed to and unsure if I could recover it if I wasnt supposed to delete it hehe).

Again, thanks! icon_smile.gif
alexjhart
Awesome Script Nighthawk!

Thank you for you hard work on all that!
jaredweb
I used this script on a new server of mine and it was missing a couple things...

It should also change the "ServerName" directive in httpd.conf, but it didn't for me. This just shows up on phpinfo etc and it's nice to have done.

But nothing a little pico couldn't fix...
it_ideas
Run hostname.sh successfully.
all variables given perfect.

chacking /var/log/httpd/errorlog shows me this

===========================================
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Sep 06 01:07:47 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Sep 06 01:07:47 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
PHP Warning: Function registration failed - duplicate name - imap_open in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_popen in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_reopen in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_close in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_num_msg in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_num_recent in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_headers in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_headerinfo in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_rfc822_parse_headers in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_rfc822_write_address in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_rfc822_parse_adrlist in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_body in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_bodystruct in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_fetchbody in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_fetchheader in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_fetchstructure in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_expunge in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_delete in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_undelete in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_check in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mail_copy in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mail_move in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mail_compose in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_createmailbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_renamemailbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_deletemailbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_subscribe in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_unsubscribe in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_append in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_ping in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_base64 in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_qprint in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_8bit in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_binary in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_utf8 in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_status in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mailboxmsginfo in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_setflag_full in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_clearflag_full in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_sort in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_uid in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_msgno in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_list in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_lsub in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_fetch_overview in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_alerts in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_errors in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_last_error in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_search in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_utf7_decode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_utf7_encode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mime_header_decode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_thread in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_get_quota in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_set_quota in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_setacl in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_mail in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_header in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_listmailbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_getmailboxes in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_scanmailbox in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_listsubscribed in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_getsubscribed in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_fetchtext in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_scan in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_create in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - imap_rename in Unknown on line 0
PHP Warning: imap: Unable to register functions, unable to load in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_connect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_pconnect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_close in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_connection_status in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_connection_busy in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_connection_reset in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_host in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_dbname in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - pg_port in Unknown on line 0

and more more more.....
it_ideas
after running your hostname.sh on psa 6.0 successfully restarted server.

when try to login with admin it ask for license agreement

after logout and restart of psa again it ask for license agreement


may i know why em i askin for this license.php again and again ??

do you have any idea on this ?
it_ideas
OK i just not seen
"Do not Show Again checkbox"

its ok now..
NightHawk
QUOTE
Originally posted by it_ideas
OK i just not seen
"Do not Show Again checkbox"

its ok now..


yep..that's the box I just answered you about via pm.
N9ne
Love the script NightHawk! Very easy to use for a servern00b like me icon_smile.gif.
NightHawk
QUOTE
Originally posted by N9ne
Love the script NightHawk! Very easy to use for a servern00b like me icon_smile.gif.


NP...glad you liked it!
SarcNBit
I ran this script on a CPanel server and everything seemed to go OK (no errors). Typing hostname produced the desired results:)

I rebooted the server and then logged in to WHM.

IP functions/Show IP Address Usage/HTTP Usage for my primary IP still shows plain.rackshack.net. icon_sad.gif

What do I need to do to clear this up?
richyc
Any chance of getting this script to update httpd.conf (on a Cpanel sever in this case) to replace "plain.rackshack.net" with the proper hostname?
LSVF
QUOTE
Originally posted by NightHawk
Ok...here is the easy way to change your hostname...this script has been tested on plesk, ensim, plainredhat, and even cpanel servers...


I submitted a tt and was sent to this forum to change the hostname on my Cpanel box. I ran the hostname.sh without a problem. Now, however, I get an INVALID LICENSE error when trying to log into users Cpanel. How does one fix this?

Many thanks.
rocketsense
Script was flawless in a new Plesk6.0 box. Thanks!!!
NightHawk
QUOTE
Originally posted by LSVF
I submitted a tt and was sent to this forum to change the hostname on my Cpanel box.  I ran the hostname.sh without a problem. Now, however, I get an INVALID LICENSE error when trying to log into users Cpanel.  How does one fix this?

Many thanks.


Generally, just refresh the page a few times....sorts it out. If not, you might want to have RS look into your license.
NightHawk
QUOTE
Originally posted by SarcNBit
I ran this script on a CPanel server and everything seemed to go OK (no errors).  Typing hostname produced the desired results:)

I rebooted the server and then logged in to WHM.

IP functions/Show IP Address Usage/HTTP Usage for my primary IP still shows plain.rackshack.net. icon_sad.gif  

What do I need to do to clear this up?


There are days that I hate cpanel/whm.... that part will have to be done manually...sorry.
NightHawk
QUOTE
Originally posted by rocketsense
Script was flawless in a new Plesk6.0 box.  Thanks!!!


Your welcome cool.gif
FavoHost
thanks NightHawk

using on one more box working perfecto

Cheers
NightHawk
QUOTE
Originally posted by FavoHost
thanks NightHawk

using on one more box working perfecto

Cheers


Good Deal, your welcome cool.gif
Fenice
Excellent script, but... in Plesk 6 I also get this erorr everytime I restart apache:

[Sun Nov 16 22:03:07 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

What can we do?
NightHawk
QUOTE
Originally posted by Fenice
Excellent script, but... in Plesk 6   I also get this erorr everytime I restart apache:

[Sun Nov 16 22:03:07 2003] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

What can we do?


That is becuase you are still using the default ssl certificate. If you want that error to go away, you will need to install a ssl cert for your hostname (via the plesk cp). This can be either a self-signed cert, or a purchased cert (although a purchased cert would be the better choice.). (*hint* there are how-to's in this forum for installing a cert on plesk).
Cyn
QUOTE
Originally posted by N9ne
Love the script NightHawk! Very easy to use for a servern00b like me icon_smile.gif.



Linuxman referred me to this link and I just wanted to Thank him for referring me and to Thank Nighthawk. Im a newbie and I am glad there are really cool people around like Linuxman & Nighthawk.


Thanks Again icon_smile.gif
ryendall
QUOTE
Originally posted by NightHawk
Ok...here is the easy way to change your hostname...this script has been tested on plesk, ensim, plainredhat, and even cpanel servers...but should work on most any redhat linux cp.


First post so forgive any stupidity :o

Would this work on a Cobalt RaQ4? And would you have to update the server name via the Cobalt server management menus as well - or does this script do all that for you?

Thanks in anticipation...
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.