Help with Apache and 2 websites

Soldato
Joined
30 Dec 2004
Posts
4,681
Location
Bromley, Kent
Hi all

I've installed LAMP on Ubuntu 14.04 as part of a test set. The tool I have installed on top of this is PHP-IPAM, which is a website for ip/vrf management. Currently if I browse to server.domain.tld the website shows up. What I wan't to do though is have the website sit on server.domain.tld/phpipam so that I can install a second site along side it (server.domain.tld/ipplan

So far I'm struggling to understand what I need to do in order to shift this - for the life of my I can't find anything that's helping me understand where the site needs to sit (currently it's just in /var/www/phpipam) or what I need to change

Any help would be appreciated

- GP
 
In your default directory that's served put your main content in it (by default /var/www or /var/www/html) then inside that directory create two directories ipplan and phpipam and put the content in the respective folders. I typed this while drunk so it might not MKe sense
 
Thanks. I left it for a few hours, came back and now its sorted. I did as you aid and moved the directories and reset a few its like the /base field and now they are both working perfectly

Cheers!

- GP
 
Back
Top Bottom