Hi Matteo,
Adding a new site to Ubuntu by hand requires that you are comfortable using the Linux command-line and editing files.
You can find the configuration files for Apache on Ubuntu 16 in the /etc/apache2/ directory. If you look in that directory, you'll see a directory named "sites-available/". Each site that you create on your Ubuntu box will have its own configuration file within that directory. The default Ubuntu install of Apache provides a template that you can copy and edit to create new sites on your system. With that in mind, you would add a new site to your system with the following commands:
$ cd /etc/apache2/sites-available/
$ sudo cp 000-default.conf mysite.com.conf
$ sudo vim mysite.com.conf
The above command uses the VIM editor to edit your site's config file. If you're not comfortable with VIM, you can use a different editor like nano:
$ sudo nano mysite.com.conf
... or pico:
$ sudo pico mysite.com.conf
Edit your site's configuration however you need to.... Once you've finished configuring your site, you'll need to run the following commands to enable your new site config within Apache.
$ sudo a2ensite
mysite.com
$ sudo systemctl restart apache2.service
... and your new site's configuration will take effect. Here's the Ubuntu documentation on it if you need more details on that:
https://help.ubuntu.com/lts/serverguide/httpd.html
You might also consider running a control panel to do this kind of thing for you. I highly recommend VirtualMin, which is free, easy to use, and works well with Lucee. You can find installation instructions for VirtualMin on Ubuntu here:
https://www.virtualmin.com/documentation/installation/automated
We use and support VirtualMin ourselves here at Vivio, so I can say from experience that it works well!
Hope this helps.
Sent: Tuesday, 11 July, 2017 03:32:05
Subject: Re: [mod_cfml] First lucee configuration
Hi Jordan,
it is very simple!
But I have a little problem. Apache does not serve index.cfm as default
page, and in Ubuntu 16 there is not a httpd.conf. How can I fix it?
Il giorno lunedì 10 luglio 2017 22:48:39 UTC+2, Jordan Michaels ha scritto:
>
> Hi Matteo,
>
> Happy to help! Can you tell us a little about what you're trying to do?
> Just set up a single domain that points to your Mura install? Or are you
> wanting to add multiple domains?
>
> Just need to know a little more about your goals before we can help you
> get there.
>
> Talk to you soon!
>
> --
> Kind regards,
> Jordan Michaels
> Vivio Technologies
>
> ----- Original Message -----
> Sent: Monday, 10 July, 2017 07:20:11
> Subject: [mod_cfml] First lucee configuration
>
> Sorry, but this is my first Lucee configuration and I would some
> informations about mod_cfml
> I have installed Lucee 5 with mod_cfml on ubuntu 16.04 plus last version
> of Apache. In ROOT directory I have a Mura cms (../webapps/ROOT/mcms).
> But I do not understand how I configure vhost in apache and server.xml in
> Tomcat.
> Could you help me?
> Thank in advanced
>
> --
> You received this message because you are subscribed to the Google Groups
> "mod_cfml" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mod_cfml+u...@googlegroups.com <javascript:>.