hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : editing etc/hosts

Forum Jump

editing etc/hosts

Reply Post New Thread In Dedicated Server Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Junior Guru Wannabe
Join Date: Nov 2005
Posts: 56

editing etc/hosts

How would i go by dong this. Sorry im new .

Sponsored Links
Web Hosting Guru
Join Date: Mar 2004
Posts: 295
Are you wanting specific things which can be edited / added to the file?
If you just want to know how to open the file for editing, use nano -w /etc/hosts
Press F2 or CTRL + X to save / close

Web Hosting Master
Join Date: Jun 2003
Posts: 698
or if you have pico instead use pico. Or Vi is a good way to go. If you are really old school you would tend to use EMACS.

Rasputinj Tech Deals Dell Deals

Sponsored Links
Carpe Diem
Join Date: Jul 2003
Location: Connecticut
Posts: 3,038
You might have better luck posting this in the Technical & Security forum.

Managed Hosting Expert
Join Date: Jan 2004
Location: North Yorkshire, UK
Posts: 4,163
Originally Posted by rasputinj
or if you have pico instead use pico. Or Vi is a good way to go. If you are really old school you would tend to use EMACS.

Pico and Nano are virtually the same thing just with different names ...

█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e:
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).

Problem Solver
Join Date: Mar 2003
Location: California USA
Posts: 13,245
the big difference between pico and nano, is nano has a find and replace function

Steven Ciaburri | Proactive Linux Server Management -
System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
Managed Servers (AS62710), Server Management, and Security Auditing. - Security notices for the hosting community.

Join Date: May 2004
Location: Kansas City, Missouri
Posts: 24
Obviously, all of the above solutions are assuming you have SSH and Root access.

HostNetWay Internet Services
Reseller, Shared and Dedicated Hosting
cPanel/DirectAdmin Available!

Sec, DC and Virtual Architect
Join Date: Nov 2005
Location: Denver, CO
Posts: 728
Originally Posted by rasputinj
use EMACS.
not only did you just date yourself, I feel old now.


Related posts from
Title Type Date Posted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?