D&C GLug - Home Page

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

Re: [LUG] OT web host

 

On Tue, 21 Jul 2009, 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.

So what happens when you type http://cregy.co.uk/ into a browser?

When I try it, (after adding it into /etc/hosts) I get a directory index 
page off the server.

Does the server know to serve up creggy.co.uk as a virtual host?

Gordon

-- 
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