Author Topic: How to change the localhost name in ubuntu Linux?  (Read 693 times)

0 Members and 1 Guest are viewing this topic.

Offline ebenzunlimited

  • Lead Admin
  • *****
How to change the localhost name in ubuntu Linux?
« on: May 24, 2012, 07:07:05 PM »
n my previous post, i have explain how to change the localhost in windows operating systems.  This post is especially for ubuntu users.

apache server should be installed.

    * Open the Terminal
    * type this command and press enter

    sudo gedit /etc/hosts

hosts will be opened in notepad.
you can find this line :    localhost.localdomain    localhost

Just change the localhost to
Restart the apache server.
Don't you know how to restart the server. nothing to worry just enter the following command in terminal:

    sudo /etc/init.d/apache2 restart

if you enter "",then you will get this page in your browser.
Don't try to copy the contents! if you want to post in your website or blog.  Give me link as resource to this page.  Link should be hyperlink not a text.
Thanks for the help
Insane I Lived♥ Sane I Died♥<img src='' />


How to Change the ICON of .EXE file or any program files icon ?

Started by ebenzunlimited

Last post June 06, 2012, 01:54:06 AM
by ebenzunlimited
How To Change an 8GB SD Card to RAM Memory

Started by ebenzunlimited

Last post April 04, 2013, 11:30:56 PM
by DE_Light
Linux get not viruses.

Started by haddin19

Last post October 12, 2012, 04:40:18 PM
by zeal

* Post Updates

Re: Convert Thunderbird to Outlook by kevinriseyit
[Yesterday at 08:40:07 AM]

Re: Easiest way to convert EML to PST by kevinriseyit
[Yesterday at 08:30:21 AM]

Re: Convert Thunderbird to Outlook by Blakelymartin
[January 12, 2021, 07:59:43 AM]

Inside: 3P Techies Blog

* Newest Techies

Get Updates

Sign up to get latest updates delivered to your inbox. No Spam, We Promise!

Get Hosting!

a Faster web hosting service

Copyright 3rd Planet Techies. All rights Reserved.

Top || Mobile || Privacy