web directoryearn money in seconds   Free file hosting, free video sharing

<<< The Web Hosting >>>


Go Back   Noeman GSM > Webhosting & Website development > Web Hosting Forums

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-01-2007, 09:46 AM
Spiral's Avatar
CO-Admin
 
Join Date: Sep 2004
Location: Martil
Age: 25
Posts: 15,823
Reputation: 19879
Spiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super Member
Lightbulb How to Set your Hostname

How to Set your Hostname

Ok...here is the easy way to change your hostname...this script has been tested on Plesk 2/5/6, Ensim/Pro, Plain Redhat, 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
Entries in BOLD are what you type.

1) login to your server via ssh
2) su -
3) wget [Only Registered users can see links . Click Here To Register...]
5) sh hostname.sh
6) answer the questions
7) done.
***Note::: If you are running a plesk server, you will also be running the plesk reconfigurator....below is an example of the output you will see:
Key Points:
1) use a valid email address
2) make sure it shows the correct hostname (should after you ran my script)
3) pick the right ip# for namebased hosting.
4) the parts in BOLD are what you type
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: [Only Registered users can see links . Click Here To Register...]
[Only Registered users can see links . Click Here To Register...]
Enter full hostname of this machine [sub.domain.com]: <ENTER>
sub.domain.com
Enter domain name [domain.com]:<ENTER>
domain.com
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

Do you want to start Plesk after reconfiguration? [Y] y

===> Admin e-mail : [Only Registered users can see links . Click Here To Register...]
===> Hostname : sub
===> Domain name : domain.com
===> Full name : sub.domain.com
===> Name-based IP : ip#
===> You want to start Plesk after reconfiguration.
Guessing that all above information is correct.
Is this correct? [Y] Y
<cut...bunch of stuff here..just look for errors>
Trying to start Plesk server...

Reconfiguration process is complete.
For more information see /tmp/psa_5.0.5_RedHat_7.2_build030207.16_reconfiguratio n.log.
You can access Plesk Server Manager via URL:
[Only Registered users can see links . Click Here To Register...]
or
[Only Registered users can see links . Click Here To Register...]
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-02-2007, 07:09 AM
cool boy's Avatar
Master
 
Join Date: Jun 2005
Location: IN YOUR HEART
Age: 14
Posts: 1,654
Reputation: 303
cool boy is a jewel in the roughcool boy is a jewel in the roughcool boy is a jewel in the roughcool boy is a jewel in the rough
Send a message via MSN to cool boy Send a message via Yahoo to cool boy
Default

Thnkssss For Sharing This Is Really Usefull
__________________




Reply With Quote
  #3 (permalink)  
Old 01-04-2007, 09:43 AM
Shadow1243's Avatar
Membre
 
Join Date: Sep 2006
Location: Turkey
Age: 21
Posts: 13
Reputation: 10
Shadow1243 is on a distinguished road
Send a message via MSN to Shadow1243
Default

Thanksssssssssssss
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:46 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 2004-2008 Noeman . All rights reserved
Christmas Gifts | Credit Cards | Internet Advertising | Hotels in Calais | Car Accident Lawyer Los Angeles

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112