To get started with your own local, or public webserver you must install apache, this can be done with the following commands:
Enter terminal using CTRL+ALT+T
Enter the following commands
$ su , enter password
$ aptitude install apache2
When finished you can visit your new host at http://localhost/ or http://192.168.1.2
The webserver searches for websites using the directory /var/www/ make a new website of your liking, example:
My website:
<!DOCTYPE HTML>
<html>
<head>
<title>My website</title>
</head>
<body>
Welcome to my website!!
</body>
</html>