good web server? apache?

4 réponses [Dernière contribution]
rova
Hors ligne
A rejoint: 07/04/2013

apache http server is good for making a web page and host it my self?

andrew
Hors ligne
A rejoint: 04/19/2012

On 18/07/13 06:44, rova wrote:
> apache http server is good for making a web page and host it my
> self?

Yes, I have used Apache httpd for years, even back when I used Windows I
used it. It has a lot of support and is probably the most used web
server. It also has modules for PHP, TLS, and much more.

Nginx is another popular web server, that is considered more
lightweight. I don't know a lot about it TBH. But there is plenty of
information on the internet about it.

There is also Apache Tomcat, which is primarily used by people writing
Java Server Pages (JSP).

Andrew.

ssdclickofdeath
Hors ligne
A rejoint: 05/18/2013

Where do the HTML pages go to be hosted on the server?

andrew
Hors ligne
A rejoint: 04/19/2012

On 18/07/13 12:17, ssdclickofdeath wrote:
> Where do the HTML pages go to be hosted on the server?

They go in /var/www.

If you want to you can change ownership of /var/www to yourself, rather
than root. Just do:

sudo chown ${USERNAME:-user} /var/www

in a terminal. I normally do this on my own machine.

Andrew.

t3g
t3g
Hors ligne
A rejoint: 05/15/2011

I love nginx and have been using for years. You can nab it via a PPA: https://launchpad.net/~nginx/+archive/stable