Jump to content

Recommended Posts

Posted

Hi All,

I'm in the middle of trying to install GLPI on a linux box that I have with a website already running on it. Could someone tell me what i need to do to add my second site to the box? I guess I have to edit my hosts file but not sure how!

 

I have dropped all the files into /var/www/hardware but when I browse to http://ipadress/hardware nothing happens.

 

Why am I being a doofus here? :confused:

Posted

Hi reggiep,

 

Two ways of looking at this; you should be able to use it as you're doing via http://ip/hardware (assuming it's extracted there and not /var/www/hardware/blah) as long as the defaultroot is set to /var/www.

 

Or you can look at vhosts which make it a bit tidier as you can use a sub/domain eg helpdesk.yourdomain.com and vle.yourdomain.com both pointing to completely different places.

  • Thanks 1
Posted

Apache2 does make using vhosts really easy.

 

Coupled with dyndns you can have up to five free domain names pointing at the same server, the key is using the ServerName directive. They will be dopey domain names like shacknet.nu but they're free.

 

I have a fixed ip address at home with bethere.co.uk broadband and use vhosts to run several test sites for my live sites running of an old box...it's good stuff.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...