Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-19-2004, 11:42 AM   #1
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
Is there a hosts file on linux?

I am having some problems with domain names currently. I changed my ISP, and now have a router/modem set to dmz with my own router behind (I hhad a bunch of ports open and wireless on it).

I figured out most ptoblems relating to domain names, but I am using a mail server called Surgemail, and when I use the web front end, it is still looking to an invalid domain.

I have found with everything else (including attaching to the mail server through Outlook) that I needed to change everything from to However the web front end is still pointing to value without the www.

I was wondering if if a hosts file existed in linux where I could just point the old address to the new one?

or, am I going down the wrong road?


Old 08-19-2004, 11:54 AM   #2
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126

Rep: Reputation: 15
You may want to check /etc/hosts. Perhaps it requires you adding an entry in there.
Old 08-19-2004, 01:43 PM   #3
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
Spot on thanks! I added the ip address/host name, and that solved it!

BTW, where in Jersey are you?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux hosts file problem mikeheggy Linux - Networking 4 01-08-2005 11:52 AM
hosts file? milesstandish Red Hat 2 11-02-2004 10:57 PM
does the /etc/hosts file work same as the M$ hosts file? Lleb_KCir Linux - Software 6 04-03-2004 04:33 PM
where is the hosts file in linux Lleb_KCir Linux - General 8 03-27-2004 10:59 AM
Windows using Linux Hosts file RJC Linux - General 0 08-20-2002 08:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration