LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-19-2004, 12:42 PM   #1
rwalkerphl
Member
 
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 surrey-consulting.com to www.surrey-consulting.com. 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?

Thanks!

Robin.
 
Old 08-19-2004, 12:54 PM   #2
0perat0r
Member
 
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, 02:43 PM   #3
rwalkerphl
Member
 
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?
 
  


Reply


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 12:52 PM
hosts file? milesstandish Red Hat 2 11-02-2004 11:57 PM
does the /etc/hosts file work same as the M$ hosts file? Lleb_KCir Linux - Software 6 04-03-2004 05:33 PM
where is the hosts file in linux Lleb_KCir Linux - General 8 03-27-2004 11:59 AM
Windows using Linux Hosts file RJC Linux - General 0 08-20-2002 09:52 AM


All times are GMT -5. The time now is 12:38 AM.

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