D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] OT web host

 

Quoting Rob Beard <rob@xxxxxxxxxxxxx>:

> Brown Richard wrote:
>> Hi All
>>
>> I am setting up a new web server and transferring sites over. In order
>> to test the sites are set up correctly I am editing my etc hosts file
>> and doint this:
>> 213.146.173.175 cregy.co.uk
>> I was hoping this would then go to the new site to allow setting up.
>> But it doesn't. Any idea why please. By the way I'm using a Mac.
>>
>> Thanks
>>
>> Richard Brown
>> http://cregy.co.uk
>> Sent from my iPod
>>
>>
> This might help...
>
> http://www.modwest.com/help/kb8-52.html
>
> Looks like the hosts file on a Mac works a little differently and has
> the host first and then the IP afterwards, so you'd need to possibly enter:
>
> cregy.co.uk 213.146.173.175
>
> The hosts file should be found in /etc
>

Bear in mind that the above is for OS9, OSX has the same syntax as  
other Unix variants.

M.
-- 
Matthew Macdonald-Wallace
matthew@xxxxxxxxxxxxxxxxxxxxx
http://www.truthisfreedom.org.uk/

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html