How to change hostname.

11 posts / 0 new
Last post
#1 Thu, 11/20/2008 - 11:10
dlap

How to change hostname.

Dear,

I have installed the Virtualmin GPL on Kubuntu client the newest kernel version. I fallowed the instructions from Webmin.com as usual.

The installer can be downloaded from install.sh. Once you have it on the Linux system you want to run Virtualmin on, execute it with the commands : chmod +x install.sh ./install.sh Because it downloads numerous packages from the Virtualmin website and your Linux distribution's repository, it may take up to 30 minutes for the install to complete. Once it is done, you can login to Webmin at https://yourserver:10000/ to see the Virtualmin user interface.

In the middle of the installation he'll ask a hostname like hostname.com but i filled a unregisted domainname whats not active at the inthernet so now i can't use my virtualmin.

my question is how can i change my hostname and where can i find it ?

Thanks for your help

Best regards, dlap

Thu, 11/20/2008 - 11:17
andreychek

You can access Webmin/Virtualmin using any hostname or IP that resolves to your server.

So if you don't have a valid domain name on there now, no problem, just use the IP address to login to Webmin:

https://your.ip.address.here:10000/

You can configure what hostname it thinks it is in Webmin -> Networking -> Internet Services and Protocols -> Hostname and DNS Client -- but that won't effect your ability to get there.

Once you're able to log into Virtualmin, you can setup Virtual Servers using valid domain names, and when you do, you'll be able to access the system using those domains (assuming, of course, that you have your box setup to handle DNS, or that you setup offsite DNS for those domains).
-Eric

Thu, 11/20/2008 - 11:27 (Reply to #2)
dlap

Dear,

I know what u mean but its not working, http://217.123.23.111:10000

see what i mean and i want to change for now mine hostname.

Thu, 11/20/2008 - 11:29 (Reply to #3)
andreychek

The URL you mentioned is missing the 's' in https, try this:

https://217.123.23.111:10000

And that should work for you!
-Eric

Thu, 11/20/2008 - 11:30 (Reply to #4)
dlap

Dear,

Sorry thanks for your help, i'll restart my system atm.

Thu, 11/20/2008 - 11:46 (Reply to #5)
dlap

Dear,

I restarted my system but i can't find what u said.

<div class='quote'>You can configure what hostname it thinks it is in Webmin -&gt; Networking -&gt; Internet Services and Protocols -&gt; Hostname and DNS Client -- but that won't effect your ability to get there.</div>

im using Kubuntu huh.

best regards, dlap

Thu, 11/20/2008 - 11:53 (Reply to #6)
dlap

Dear,

nevermind, i found it. now is my question what is the standard user and password for login ?

Thu, 11/20/2008 - 11:55 (Reply to #7)
andreychek

You can log in using root and your root password.

From there, you can use root to create additional Webmin and system users.
-Eric

Thu, 11/20/2008 - 11:59 (Reply to #8)
dlap

Dear,

the root password from my system was not working now he says

&quot;Error - Access denied for 217.123.23.111. The host has been blocked because of too many authentication failures.&quot;

what can i do now ?

Thu, 11/20/2008 - 16:37 (Reply to #9)
andreychek

I believe that will timeout after a certain amount of time, but I think you can also reset it by restarting Webmin:

/etc/init.d/webmin restart

Ubuntu/Kubuntu don't setup root logins by default, make sure you do have a root password and such setup (I think I've also read that you can login as a user with sudo access).
-Eric

Thu, 11/20/2008 - 19:46 (Reply to #10)
dlap

Dear,

Thanks a lot its working now. i used my sudo login to connect

Topic locked